Dec 6, 2007 9:51 AM
Changing Google map view
-
Like (0)
Map Attributes
By default, maps show up within the Google Maps API using standard "painted" tiles. However, the Google Maps API also supports other maps types. The following map types are standard:
* G_NORMAL_MAP- the default view
* G_SATELLITE_MAP - showing Google Earth satellite images
* G_HYBRID_MAP - showing a mixture of normal and satellite views
* G_DEFAULT_MAP_TYPES - an array of these three types, useful for iterative processing
You can set the map type using the GMap2 object's setMapType() method. For example, the following code sets the map to use the satellite view from Google Earth:
var map = new GMap2(document.getElementById("map_canvas"));
map.setMapType(G_SATELLITE_MAP);
Hi all!
About you there's a way to change the Google map portlet style?
I've read the google map API documentation and seems to be a simple
operation.
This is from google documentation:
Code:
Map Attributes
By default, maps show up within the Google Maps API using standard
"painted" tiles. However, the Google Maps API also supports other
maps types. The following map types are standard:
* G_NORMAL_MAP- the default view
* G_SATELLITE_MAP - showing Google Earth satellite images
* G_HYBRID_MAP - showing a mixture of normal and satellite views
* G_DEFAULT_MAP_TYPES - an array of these three types, useful for
iterative processing
You can set the map type using the GMap2 object's setMapType()
method. For example, the following code sets the map to use the
satellite view from Google Earth:
var map = new GMap2(document.getElementById("map_canvas"));
map.setMapType(G_SATELLITE_MAP);
I've searched into the zenoss tree but I haven't found anything...
Where should I change this attribute?
Thanks a lot
Umberto "crash_override" Bernardi
Linux Registered User 353811
******************************
Impossibilila nemo tenetur....
_______________________________________________
zenoss-dev mailing list
zenoss-dev@zenoss.org
http://lists.zenoss.org/mailman/listinfo/zenoss-dev
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||