Tag Info

New answers tagged

1

getMap() is deprecated. Use callback setOnMapLoadedCallback which is called when the map finishes loading. googleMap.setOnMapLoadedCallback(new GoogleMap.OnMapLoadedCallback() { @Override public void onMapLoaded() { //Add markers here googleMap.moveCamera(CameraUpdateFactory.newLatLngBounds(bounds, 15)); ...


0

I have already resolved this. heres my answer: HTML: OpenLayers 3 - LayerSwitcher <style> html, body { height: 100%; padding: 0; margin: 0; font-family: sans-serif; font-size: small; } #map { width: 100%; height: 100%; } .popup { ...



Top 50 recent answers are included