Displaying 3 results from an estimated 3 matches for "maptypeid".
Did you mean:
maptype
2009 Sep 21
0
r34 committed - removed deprecated method draggable, all controls off when first creat...
...source/mxn.googlev3.core.js Sun Sep 20 07:01:02 2009
+++ /trunk/source/mxn.googlev3.core.js Mon Sep 21 00:21:06 2009
@@ -5,7 +5,12 @@
init: function(element, api){
var me = this;
if ( google && google.maps ){
- var map = new google.maps.Map(element,
{mapTypeId:google.maps.MapTypeId.ROADMAP});
+ // be default no controls and road map
+ var myOptions = {
+ disableDefaultUI: true,
+ mapTypeId: google.maps.MapTypeId.ROADMAP
+ };
+ var map = new google.maps.Map(element, myOpti...
2010 Nov 08
1
API Google MAPS
...sor=false"></script>
<script type="text/javascript">
function initialize() {
var latlng = new google.maps.LatLng(28.142722, -15.448609);
//Creatin a MapOptions object with tthe required properties
var myOptions = {
zoom: 3,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
//Creating the map
var map = new google.maps.Map(document.getElementById("mapilla"),
myOptions);
// add the marker itself
var marker = new google.maps.Marker({
position: latlng,
map: map,
draggable: true
});
}...
2009 Sep 20
0
r30 committed - jslint now passing for google and googlev3
...toProprietary(this.api);
- if(options && options[''pan'']) {
+ if(options && options.pan) {
// TODO: Add provider code
}
else {
@@ -205,7 +207,7 @@
getMapType: function() {
var map = this.maps[this.api];
- var type = map.getMapTypeId()
+ var type = map.getMapTypeId();
switch(type) {
case google.maps.MapTypeId.ROADMAP:
return mxn.Mapstraction.ROAD;