Skip to Main Content

Japanese

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

2710223Jul 10 2014

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

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2014
Added on Jul 10 2014
0 comments
1,099 views