I have now 7 weeks search for error and now i see it brokes by new version of adaptivetheme.

I use an map of virtual world of a game thats use the google maps api years ago works it.
After the adaptivetheme update from 1.2 to 2.2 it dont works.

I have found it by switch to the old 1.2 version and now running succesful.

But i cant found the point that make the conflict it musst be a Javascript error.

Comments

Jeff Burnz’s picture

Its probably a CSS error, what is the module, is this online?

Lennard’s picture

Its not a module for now works by direct Code in Node.
But i have write a own module for it with same result.

Yes its Online you can see the map it here --->

http://vdssl.onpw.de/vds/vds-%C3%BCbersichts-karte

The used Base Code is this:

<html>
<head>
<script src="http://maps.google.com/maps?file=api&v=2&key=[google map key]" type="text/javascript"></script>
<script src="http://slurl.com/_scripts/slmapapi.js" type="text/javascript"></script>

<style>
div#map-container {
      width: 500px;
      height: 500px;
}
</style>

<script>
function loadmap() {
  mapInstance = new SLMap(document.getElementById('map-container'));
  mapInstance.centerAndZoomAtSLCoord(new XYPoint(997, 1002), 2);
}
</script>

</head>
<body onload="loadmap()" onunload="GUnload()">
<div id="map-container"></div>
<a href="javascript:gotoSLURL(997, 1002, mapInstance)"> Place is here </a>
</body>
</html>

Thanks

Jeff Burnz’s picture

Add css:

div#map-container img {
  max-width: none !important;
}
Lennard’s picture

Status: Active » Fixed

Wow Jeff you are great.

Thank you very much ... now its works perfectly.

I set the status to fixed. :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.