Jump to content

maps.secondlife.com not loading correctly


You are about to reply to a thread that has been inactive for 2635 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

It will load the surl for a second and then an error about Google Maps not loading correctly comes up. In the JS console it says:

"Google Maps API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version"

This site has exceeded its daily quota for maps. If you are the creator of this site, please visit the documentation to learn more.

I don't believe this is something I can fix on my end, rather it's a problem with SL, but I'm not sure. Anyone have any ideas?

Link to comment
Share on other sites

At the moment, maps.secondlife.com seems to be working okay for me in the browser, but I have some scripts that use the Map API in some MoaP javascript and those seem to silently fail. Although I watched them working maybe a week ago, I'm not sure anybody else uses them, so I'm not terribly motivated to troubleshoot further, not just yet anyway.

[ETA: Even though I promised myself I'd ignore it... the same javascript works just fine in a browser -- I'll paste it below -- but not working in MoaP now, but did before (adding quotemark-escaping as needed).]

<head><script src="http://maps.google.com/maps?file=api&v=2&key=" type="text/javascript"></script>
<script src="http://slurl.com/_scripts/slmapapi.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="http://slurl.com/_styles/MAIN.css" />
<style> div#map-container { width:1024px; height:768px;} </style>
<script>
function loadmap() {
mapInstance = new SLMap(document.getElementById('map-container'), { hasZoomControls: false, hasPanningControls: false, hasOverviewMapControl: false});
mapInstance.centerAndZoomAtSLCoord(new XYPoint(1807, 1198), 2);
}
</script>
</head>
<body onload="loadmap()" onunload="GUnload()">
<div id="map-container"></div>
</body>
Link to comment
Share on other sites

Well drat, now there's a Map bug that really is affecting my scripts as well as the auction maps, but not in-world* nor maps.secondlife.com.

In my script (under spoiler tag above), it throws these errors:

and in the auction maps an additional

I wonder what's to become of all that Linden MapAPI documentation in the wiki, apparently now outdated.

______

* ETA: Of course the MoaP scripts referencing the Map API are visible in the viewer, so that's kinda "in-world", but the viewer Map window works fine.

Link to comment
Share on other sites

  • 1 month later...

An update: I noticed that the Auction maps started working again, and dug into it a bit. Apparently way back in December they updated the MapAPI to be based on leaflet instead of the old Google stuff.

It's far from backward-compatible -- indeed I can't quite replicate the precise map layouts I had before, no matter what I do, and the API itself is quite different (and it sure seems like the map zoom-levels are inverted from what they were, or at least changed in some unexpected way).

Anyway, it does work again, sorta like it did before. I just wish they'd been a little more forthcoming about what they were doing / had already done when they closed my jira, so I could have started fixing maps back when I had time to work on it.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2635 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...