Skip to Content
avatar image
Former Member

Geomaps with spots but map is not rendering, trying to configure GoogleMap Provider


I am trying to use SAPUI5 control GeoMaps referring the below link, but the map is not getting render only spots are coming.

I tried to use Google Map Provider for map configuration and using the below code for the same, but even then the map is not getting rendered

var oGeoMap = this.getView().byId("GeoMap");

var oMapConfig =

{ "MapProvider": [

{ "name": "GOOGLEMAPS",

"type": "HTTP", "description":

"Google Maps API",

"tileX": "256",

"tileY": "256",

"maxLOD": "20",

"WebIDEEnabled": "true",

"WebIDESystem": "false",

"copyright": "Tiles Courtesy of GOOGLE Maps",

"Source": [ { "id": "s1", "url": "" } ] }],


{ "name": "DEFAULT", "MapLayer":

{ "name": "GoogleMaps", "refMapProvider": "GOOGLEMAPS", "opacity": "1.0", "colBkgnd": "" } }] };

oGeoMap.setMapConfiguration(oMapConfig); oGeoMap.setRefMapLayerStack("DEFAULT");



Someone please help me to fix this issue.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers