Forum Stats

  • 3,840,131 Users
  • 2,262,570 Discussions
  • 7,901,154 Comments

Discussions

[MVMapView.constructor]MAPVIEWER-05519:One or more parameter is missing or invalid.(mapDiv)

2710223
2710223 Member Posts: 1

hi,

Iam very new to oracle apex, I am trying to integrate google maps with the oracle apex and point my table content on the map.

For that i have placed below code in  javascript tab ,Function and Global Variable Declaration : 

var eLocURL = "http://elocation.oracle.com/mapviewer/mcserver";

var baseURL = "http://local-mapviewer-host/mapviewer";

var mapview;

function display_map() {

mapview = new MVMapView(document.getElementById("map"), baseURL,eLocURL);

mapview.addMapTileLayer(new MVMapTileLayer("elocation_mercator.world_map",

eLocURL));

mapview.setCenter(MVSdoGeometry.createPoint(-122, 38, 8307));

mapview.setZoomLevel(6);

mapview.addNavigationPanel("east");

mapview.display();

}

when i run the page it throws error:

[MVMapView.constructor]MAPVIEWER-05519:One or more parameter is missing or invalid.(mapDiv)

can someone help how to resolve the issue

thanks in advance

This discussion has been closed.