Jan 6, 2010 3:08 PM
Optimize Google maps
-
Like (0)
Hello,
I'm wondering if it's possible to optimize the google map drawing.
Currently I'm plotting around 70 locations on one map and 7 on another. From close by it looks gread but from a distance, on a big LCD on the wall, background information seems to take over.
I'ts hard to see the green dot's when the bigger motorway signs or city names take over.
Regards,
Rens
Thanks for the response, this was just the step missed.
For everyone else who whats to play with the settings here's what I've done.
Based on the previous post I've done the following:
I've added the command:
this.map.setMapType(G_NORMAL_MAP);
to geomap.js on line 53, in the ZenGeoMap.prototype = { } part.
This will make sure the Locations / Map items stay the same.
On line 199 I've added
this.map.setMapType(G_PHYSICAL_MAP);
This is within the "if (this.isPortlet()) { } part"
From the google Maps Api I've got the following info:
The following map types are commonly used in the Google Maps API:
G_NORMAL_MAP displays the default road map view.
G_SATELLITE_MAP displays Google Earth satellite images. *
G_HYBRID_MAP displays a mixture of normal and satellite views.*
G_DEFAULT_MAP_TYPES contains an array of the above three types, useful for iterative processing.
G_PHYSICAL_MAP displays a physical map based on terrain information.
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||