mapbox

How do I customize the Marker popup with Mapbox for Android

How do I customize the Marker popup with Mapbox for Android
I'm building an Android application using the Mapbox Android SDK. I'm adding markers to the map as shown below. How can I customize the popup so that it can have a button that will call a navigation intent?LayerData.LayerFeature feature = layerDataAr

Leaflet markers do not open popup on click

Leaflet markers do not open popup on click
I just started using Leaflet andMarker Clustererto organize the markers.Problem #1:When an unclustered marker is clicked, no popup appears.Problem #2:When a cluster is clicked several times, all the markers within that cluster appears, and when one o

Mapbox: How to filter markers by category?

Mapbox: How to filter markers by category?
I am creating my first map using Mapbox and I want to be able to filter markers by category. I am following this example on the mapbox doc page:https://www.mapbox.com/mapbox.js/example/v1.0.0/multiple-marker-filters/I have a property for each marker

set callout image mapbox android

set callout image mapbox android
in iOS you can easily set a callout for your markers by calling:[marker setCanShowCallout:YES]; [marker setRightCalloutAccessoryView:YOUR_BUTTON];But I can't find this functionality for the Mapbox Android SDK. I do have a listener now which detects t

How to set max zoom on map which is created using geojson-vt

How to set max zoom on map which is created using geojson-vt
if(leafletMap == null){ leafletMap = L.map('mapDiv') .setView(defaultLocation, defaultZoom) Layer= L.tileLayer("http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}") .addTo(leafletMap); var tileOptions =

Using mapbox, how can I add a borders layer over the top of the satellite image layer?

Using mapbox, how can I add a borders layer over the top of the satellite image layer?
Essentially I would like to reproduce the open gl example map -https://www.mapbox.com/mapbox-gl-js/example/satellite-map/but be able to use the mapbox.js API to add customer markers and clustering.The streets map has the information, but I don't know

leaflet : Prevent marker to be dragged outside the map container

leaflet : Prevent marker to be dragged outside the map container
Please consider the following codehttp://jsfiddle.net/franckl/311bcbc8/var southWest = L.latLng(-90, -180), northEast = L.latLng(90, 180); var bounds = L.latLngBounds(southWest, northEast); var map = L.map('map', { minZoom: 2, zoomControl: false, att

Android MapBox inflating error. Didn't find class MapView

Android MapBox inflating error. Didn't find class MapView
When I launch android app with MapBox library I get exception:"android.view.InflateException: Binary XML file line #9: Error inflating class com.mapbox.mapboxsdk.views.MapView"Field "cause" contains this text:java.lang.ClassNotFoundExc

MapBox ESRI Data Layer

MapBox ESRI Data Layer
I have a mapbox, and want to display a layer of esri data onto it. The data I'm getting is being pulled in from this json file:https://gis.usps.com/arcgis/rest/services/EDDM/selectZIP/GPServer/routes/execute?f=json&env%3AoutSR=102100&ZIP=93003&

Screenshoting MapBox using html2canvas creates a black jpg

Screenshoting MapBox using html2canvas creates a black jpg
I managed to save on my hard drive a screenshot of a map generated with the Google Maps API using html2canvas. I now try to do the same thing with the MapBox API, and all I get on my hard drive is a black screen jpg.Here is my HTML code :<!DOCTYPE ht

Is it possible to set up geofences with Mapbox API

Is it possible to set up geofences with Mapbox API
I'm looking to create and use geofences using Mapbox API and cannot find any documentation available. In my case, the geofences would alert my users of a map-based mobile app when they are within a certain radius of a Point of Interest.Gmaps has a ni

In mapbox can you only disable the ability to zoom in?

In mapbox can you only disable the ability to zoom in?
Im writing a map where the user can only zoom in to a specific level before having to click on a marker, I know you can disable zooming in and out with:// Disable drag and zoom handlers. map.touchZoom.disable(); map.doubleClickZoom.disable(); map.scr

Leaflet Not Adding Tile Layer to Bottom

Leaflet Not Adding Tile Layer to Bottom
I am helping my students with a map of some data related to Hurricane Sandy. They have four tile layers (MapBox Street, MapBox Satellite, NOAA Satellite, and NOAA Inundation) and several vector layers.When it first loads, the map shows the MapBox Str

translating mapkit annotation object to mapbox annotation object

translating mapkit annotation object to mapbox annotation object
I am implementing an offline map using MapBox in my app that currently uses mapkit with Apple Maps.I have an object which describes a point of interest - name, description location etc with an interface as seen below:#import <Foundation/Foundation.h>

How to hide markers that are in a cluster (Mapbox.js / Leaflet Markercluster)?

How to hide markers that are in a cluster (Mapbox.js / Leaflet Markercluster)?
I am showing photos on a map which are clustered where they are close together. For some reason I can't figure out, markers within a marker cluster still show - either below or above the cluster they are in. (seeherefor a demo).When they happen to be

Is is possible to use Font Awesome icons in Mapbox Markers?

Is is possible to use Font Awesome icons in Mapbox Markers?
I'm using the Maki set of icons, but they are very limited and would like to be able to use Font Awesome icons. Is this possible?Here's the code I'm using to set up the marker icons.marker.setIcon(L.mapbox.marker.icon({ 'title': jobid, 'marker-color'

Custom map style in MapKit

Custom map style in MapKit
I am looking for a way to implement a custom map style in iOS 7, just like you can do withGoogle Maps. I have found some posts saying that this is not possible with MapKit, but they are all posted a while back. To clarify, by style I am talking about

how to get latitude and longitude for an address WITHOUT using Google's Geocoding services

how to get latitude and longitude for an address WITHOUT using Google's Geocoding services
I would like to get the latitude and longitude of an address. Is there any way to do this without using Google's geocoding API?I want to usetilemillto display my addresses on my map. As far as I understand using latitude and longitude obtained from G

How can I import mapbox-gl-native project into Android Studio?

How can I import mapbox-gl-native project into Android Studio?
I want to runMapbox-GL-AndroidSDk-TestAppin Mapbox-gl-native project, but when I import into Android Studio, it doesn't work. This is the Log:start activity ComponentInfo{com.mapbox.mapboxsdk.testapp/com.mapbox.mapboxsdk.testapp.MainActivity}: androi

drawing circle with radius specified in meters on a map

drawing circle with radius specified in meters on a map
Any pointers on how to draw a circle of radius, specified in meters, on top of a geographical map using D3 would be pretty helpful.I tried to use Leaflet and it's Circle(or CircleMarker) that accepts radius in meters, but I need more flexibility to p