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

some questions on Hotspots
Hi, On Hotspots extension : 1) is it possible to add our own map layer / v...
0 Replies
Posted on Thursday, 03 July 2025
  • New
  • Trying to resize the image in the comments
    Hey everyone, Basically I am trying to make the images in the comments smalle...
    9 Replies
    Posted on Wednesday, 12 August 2009
    J5 compatibility for Hotspots
    Hi guys, Just started to update my old J3x website. Is there J5 compatibility p...
    2 Replies
    Posted on Monday, 24 February 2025
    • #Hotspots
    • #hotspots Joomla 5
    error message when adding/cofiguring email address
    When configuring the email plugin that send a email message to admin when a new ...
    0 Replies
    Posted on Friday, 09 May 2025
    CMigrator: Path from Drupal 6 to J5?
    (Category s/b CMigrator, but didn't see it on the list) I'm interested in usi...
    0 Replies
    Posted on Monday, 28 April 2025