You are correct - the image is huge. What you want is an ImageMapType
overlay. Here's the example: 
http://code.google.com/apis/maps/documentation/v3/overlays.html#ImageMapTypes

You will need to cut your image into tiles to use this. There are
several tile cutting scripts available depending on what programs you
have to work with. I've personally used the ones available at
http://mapki.com/wiki/Automatic_Tile_Cutter

Chad Killingsworth

On Feb 20, 11:19 am, MotoJohn <[email protected]> wrote:
> I am trying to create a trail map with a large image overlay 
> (seehttp://www.mapsjkfl.co.cc/map_v3.html). It works perfect on a
> computer,
> but when viewing on an Android device, the overlay never appears. I
> suspect that it's due to the size of the image I'm overlaying. I
> believe the proper way to do this would be to cut the image into
> smaller pieces and overlay each one individually, but I have no idea
> how to properly size & align each one. (It took me way too long just
> to get this one sized & aligned correctly!)
>
> Though it shouldn't matter, I originally programmed this with the V2
> API, but it was suggested that I convert it to v3 for a hand-held
> device. Results were about the same though :(
>
> 1. Am I correct that this is why it won't show up properly on an
> Android device (image too large)?
> 2. Is there an easy way to figure out offsets and sizing if I divide
> the image into smaller pieces?
> 3. Is there an alternative/better way to do this in the first place?
>
> Ultimately my goal is to use this map in combination with the GPS
> functions on the hand-held device to be able to track where I am...
> Any assistance to get me moving in the right direction is greatly
> 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.

Reply via email to