sg

Cumartesi, Ocak 07, 2006

Re: Remove one of the Map type buttons


Wasn't it oceatoon@gmail.com who wrote:
>
>Thanks JJ R DK works good, nice work around.
> It would be great if we could have real documentation about MapType
>Objects creation

I'm hoping that version 2 might have documentation for custom map type
creation. The code in that area is quite different from version 1.

I've managed to determine that existing custom map tile servers do work
with version 2.

The bit that I'm stuck on at the moment is linking a new GTileLayer()
into the map type, rather than copying a reference to the GTileLayer()
of one of the existing map types. The copy_obj technique described in
the Mapki just copies the reference, so when I set the
GTileLayer.baseUrls property, it changes the baseUrls property of
G_NORMAL_MAP as well.

[I don't have a tile server of my own (none of the web hosts that I use
provide suitable scripting languages). I'm currently stealing tile
service from someone else's version 1 custom map in order to try to get
version 2 custom maps checked out.]

--
The Blackpool Community Church Javascript Team
http://www.econym.demon.co.uk/googlemaps/

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık