1. Bruce Hatton
  2. Newbie area
  3. Monday, 01 August 2011
  4.  Subscribe via email
Using Global Mapper (http://www.globalmapper.com) I have created a set of of tiles and the code to overlay them on a Google Map. See http://beta.africamaps.cc/overlay/index.htm
http://beta.africamaps.cc/overlay/Cape Overlay.PNG

I am guessing that a modified version of the code could be added into the Hotspots component, but I would need some serious guidance on how to do this and where exactly in which file to place it.

Can anybody help? (in a very detailed reply, as my coding skills are zero.)

The code produced by Global Mapper is as follows:





Cape Overlay



var G = google.maps;
var map;

var customMapType = new G.ImageMapType
(
{
getTileUrl: function(coord, zoom)
{
var normalizedCoord = getNormalizedCoord(coord, zoom);
if (!normalizedCoord) { return null; }

if ( zoom == 6 && normalizedCoord.x >= 35 && normalizedCoord.x = 38 &&

normalizedCoord.y = 70 && normalizedCoord.x = 76 &&

normalizedCoord.y = 140 && normalizedCoord.x = 152 &&

normalizedCoord.y = 280 && normalizedCoord.x = 304 &&

normalizedCoord.y = 561 && normalizedCoord.x = 609 &&

normalizedCoord.y
Responses (9)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now

Last questions

verschiedene URL's für Kursübersicht einer Kategor
Hallo, ich habe eine Frage in Bezug auf SEO: ein externer Spezialist macht die...
3 Replies
Posted on Monday, 29 April 2024
_MATUKIO_NO_EVENTS appears in the frontend if no e
Hello, there ist still the problem, that on the frontpage appears COM_MATUKIO...
1 Replies
Posted on Sunday, 12 May 2024
  • New
  • Complete Uninstall to Work in J4??
    We have recently updated a site from Joomlav3 to v4 (4.4.2). Now when we go to m...
    7 Replies
    Posted on Tuesday, 30 April 2024
    Info about CMigrator for Joomla
    Hi i need to import a few thousand articles from a site made in wordprres to a ...
    0 Replies
    Posted on Tuesday, 07 May 2024
  • New
    • #CMigator
    Error on android phone
    Why its working good on Computer and if i try it with smartphones the map dosent...
    0 Replies
    Posted on Tuesday, 07 May 2024
  • New