Good call about the BOM. Fixing that seems to have got me past some
issues...

I think I may be confusing Layers with MapTypes?

The reason I started with the StyledMapExample is the example had the
appearance of something being an overlay on Roadmap.

Now, when I made changes to Moon in order to make it appear like a 0.5
opacity overlay of Roadmap, I get this:

http://dl.dropbox.com/u/48944369/moon.html

Clicking Map/Moon seems to sort of do what I expect, (i.e. moon tiles
overlaid on Google's render of the earth) but this appears to be due
to a bug, not a feature.

Thank you

On Nov 9, 6:54 pm, Martin™ <[email protected]> wrote:
> Hi again.
>
> Look at the documentation for ImageMapType:
>
> http://code.google.com/apis/maps/documentation/javascript/maptypes.ht...
>
> See that you create your ImageMapType and then insert it into the
> Map's overlayMapTypes array.
>
> That's different to creating a StyledMapType.
>
> If you want an ImageMapType then why not just start with the demo code
> i linked to above?
>
> Note that if you click the View example link for that demo code it
> redirects to:
>
> http://code.google.com/apis/maps/documentation/javascript/examples/ma...
>
> That's not the demo page code!
>
> The link you posted has an error too.
> It's encoding is UTF-16LE and i think has been saved with a Unicode
> signature (BOM) which seems to prevent the API from loading.
> Might just be a problem with dropbox and not a problem with your
> original code.
>
> Martin.
>
> On Nov 10, 2:19 am, Map Guy <[email protected]> wrote:
>
>
>
> > Apologies, I thought it would be easier to make changes if I supplied the
> > file in email.
>
> > Here it is online:
>
> >http://dl.dropbox.com/u/48944369/goog.html
>
> > If there is a beer fund, I'll happily contribute :)- Hide quoted text -
>
> - Show quoted text -

-- 
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