Created
August 27, 2014 22:24
-
-
Save respectTheCode/16058b92a4bc6431377f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class APMapboxLayer extends APLayer { | |
private MapView mMapView; | |
public APMapboxLayer(final Context context, final LayerDataSource data, final float density, final float scale, final View.OnClickListener hotspotClickListener) { | |
super(context, data, density, hotspotClickListener); | |
String mapId = data.getMapId(); | |
if (mapId == null) { | |
return; | |
} | |
mMapView = new MapView(context); | |
mMapView.setTileSource(new MapboxTileLayer(mapId)); | |
setView(mMapView); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
map id
millemr.ja67pkif