|
Hi,
I managed to have intellisense working not actually using scripts/google-maps-3-vs-1-0.js in the script but scripts/google-maps-3-vs-1-0-vsdoc.js. However it appears that I don't have any google map loading on my page afterward.
I put this script after the google one as specified.
Otherwise if I don't use the script for intellisense I manage to have the google map using the classic way.
Any suggestion or advise would be appreciated.
here is my code:
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="scripts/google-maps-3-vs-1-0-vsdoc.js"></script>
<script type="text/javascript" language ="javascript">
var opts = new google.maps.MapOptions();
opts.zoom = 11;
opts.center = google.maps.LatLng(48.856358, 2.335);
opts.scrollwheel = true;
opts.mapTypeId = google.maps.MapTypeId.ROADMAP;
opts.mapTypeControlOptions.position = google.maps.ControlPosition.TOP_RIGHT;
opts.mapTypeControlOptions.style = google.maps.MapTypeControlStyle.DROPDOWN_MENU;
opts.navigationControlOptions.position = google.maps.ControlPosition.TOP_LEFT;
opts.navigationControlOptions.style = google.maps.NavigationControlStyle.SMALL;
var map = new google.maps.Map(document.getElementById("map"), opts);
</script>
Thanking in advance whoever would help me!
Erwann
|