I have a game that I have written called Railroad Empire that uses Google Maps. http://apps.facebook.com/railroadempire
The problem that I am having is that my map is very slow to load in IE compared to Firefox, Chrome or Safari. So my plan was to change the data on my map from a very large amount of javascript to a kml file, however I have run into several problems, and was wondering if I am even going down the right path. When I try to load the map in my full game environment sometimes some of the overlay tiles don't load, you'll see markers on part of the map, but not all of it. Sometimes you'll see generic purple markers instead of my icons, or sometime you will see nothing at all. When I take the map out of the game environment this does not happen. Anyone have any ideas? Next, it seems that you cannot use querystring parameters in your KML urls for KMLLayer, is that correct? I cannot find any documentation one way or another. but my KML was not loading with a Querystring. If I change the output of the KML and then reload the map, it seems to keep the previous data and not re-render the map. Is there some sort of caching going on? Is there a preferred way around this problem? You can see the full beta game with the KML layer here: http://apps.facebook.com/railroadempire-beta You can see the maptest without the game code here: http://beta.latest.railroadempire.appspot.com/map/maptest you can use http://beta.latest.railroadempire.appspot.com/map/maptest?action=add to change denver, CO to the black icon and http://beta.latest.railroadempire.appspot.com/map/maptest?action=subtract to change it yellow, as you'll see the map does not update, but the KML output by the url does. http://beta.latest.railroadempire.appspot.com/map/stations.kml Any help on these issue would be appreciated -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
