Wednesday, October 7, 2009

Re: Custom map & wikipedia/youtube/picassa GLayers problem.

Ey Pistol Thanks!!
That did the trick... :D

Well, this did :

var custommap = new GMapType(tileLayers,
G_SATELLITE_MAP.getProjection(),
"Callejero", {errorMessage:"No data available"});

( without "new" )

But why it didn't work with the mercator projection; but it does with
a projection of a standard MapType?

And I have another question.

Can I create a custom map with a TileLayer definition that uses
transparent png images, to put them over the normal map TileLayer
set ?
(if possible) Should I use then GTileLayerOverlay instead of
GTileLayer ?

Thank you very much again. :D

On 7 oct, 18:29, pi5701 <pistol...@chello.at> wrote:
> try changing:
> var custommap = new GMapType(tileLayers, new GMercatorProjection(18),
> "Callejero", {errorMessage:"No data available"});
> to:
> var custommap = new GMapType(tileLayers, new
> G_SATELLITE_MAP.getProjection(),
> "Callejero", {errorMessage:"No data available"});
>
> -pistol
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate