[Google Maps API v3] Look if you like

2011-03-02 Thread Niklasro
Dear group, kindly have a look if you like at my effort making a
custom map with darker water and yellow borders. All comments and
suggestion are natyrally most welcome. Here's the link: 
http://www.koolbusiness.com
Many thanks,
NIklas

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Please help !

2011-03-02 Thread NG
thanx...


On Mar 3, 11:08 am, "geocode...@gmail.com" 
wrote:
> On Mar 2, 9:39 pm, NG  wrote:
>
> > Hey i want to use google maps in my web app...I want to provide user a
> > facility to chose source and destination from two drop down menus(data
> > stored in some database preferebly DB2)..and then on submitting,
> > display a map which shows the available path b/w the two !...Please
> > its urgent..if there is some standard logic/code please send it to me !
>
> From a link in the v2 posting 
> guidelines:http://www.catb.org/~esr/faqs/smart-questions.html#bespecific
>
> http://www.catb.org/~esr/faqs/smart-questions.html#urgent
>
> The google maps v3 API is just that, an application programming
> interface.  This group is a group of developers, most are willing to
> help you learn, not many will write your code for you.
>
> Look at the 
> documentation:http://code.google.com/apis/maps/documentation/javascript/basics.html
>
> and the 
> articles:http://code.google.com/apis/maps/documentation/javascript/articles.html
>
> and see how far you get.
>
>   -- Larry

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Zoom in/out frequently cause null is null or not an object in IE

2011-03-02 Thread omrs
There is nothing wrong with my HTML code. The problem occures while
adding the markers. (And ofcourse it happens only in IE). I just
create a new marker item and add it to the map with the setMap
function. Is there anything i have to check before adding the markers?

On 3 Mart, 02:04, "geocode...@gmail.com"  wrote:
> On Mar 2, 3:47 pm, omrs  wrote:
>
> > I have the exact same problem. How can i validate my code?
>
> HTML Validator:http://validator.w3.org/
>
>   -- Larry
>
>
>
>
>
> > On 2 Mart, 23:34, Esa  wrote:
>
> > > Any time when IE causes a headache, validate your code first. I did it
> > > yesterday.- Hide quoted text -
>
> > - Show quoted text -- Alıntıyı gizle -
>
> - Alıntıyı göster -

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Please help !

2011-03-02 Thread geocode...@gmail.com
On Mar 2, 9:39 pm, NG  wrote:
> Hey i want to use google maps in my web app...I want to provide user a
> facility to chose source and destination from two drop down menus(data
> stored in some database preferebly DB2)..and then on submitting,
> display a map which shows the available path b/w the two !...Please
> its urgent..if there is some standard logic/code please send it to me !

>From a link in the v2 posting guidelines:
http://www.catb.org/~esr/faqs/smart-questions.html#bespecific

http://www.catb.org/~esr/faqs/smart-questions.html#urgent

The google maps v3 API is just that, an application programming
interface.  This group is a group of developers, most are willing to
help you learn, not many will write your code for you.

Look at the documentation:
http://code.google.com/apis/maps/documentation/javascript/basics.html

and the articles:
http://code.google.com/apis/maps/documentation/javascript/articles.html

and see how far you get.

  -- Larry

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Please help !

2011-03-02 Thread NG
Hey i want to use google maps in my web app...I want to provide user a
facility to chose source and destination from two drop down menus(data
stored in some database preferebly DB2)..and then on submitting,
display a map which shows the available path b/w the two !...Please
its urgent..if there is some standard logic/code please send it to me !

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Function Closures

2011-03-02 Thread Ben Appleton
It sounds like you're proposing to replace event listeners with event
delegates. For example, say you have a function called "handleMarkerClick".

Event listener:
google.maps.event.addListener(marker, 'click', handleMarkerClick);
This allocates objects for each marker.

Event delegate:
marker.onclick = handleMarkerClick;
This does not allocate any objects.

We use event delegates internally, and this is how the change handlers like
marker.positionChanged work. But you're right that event delegates are not
exposed in the API. We'll think about exposing these.

Cheers
Ben

On Thu, Mar 3, 2011 at 3:17 PM, bratliff  wrote:

> On Mar 2, 8:53 pm, Ben Appleton  wrote:
> > > The use of "function closures" for event listeners might work for a
> > > few dozen markers but it does not scale well for many hundred or many
> > > thousand.  Combining event listeners into a common function with
> > > something unique assigned to a property of the marker's "this" object
> > > is a step in the right direction.  The redundant function code is
> > > reduced but each marker still requires its own event listener pointing
> > > to the same common function.
> >
> > It sounds like you're making a new function for each marker's listener.
> Note
> > that the event target is passed as 'this' to an event listener, so you
> can
> > reuse a single closure for a class of targets. This is what we do
> internally
> > for efficiency.
>
> I do not use API markers at all.  Just a suggestion to improve event
> listeners without requiring hundreds or thousands of redundant
> pointers to the same common function.  You could define the function
> once for an entire "class" of similar markers.  The function would
> receive an argument identifying which marker was the target.
>
> > > CANVAS does not provide native mouse support.  All event listeners
> > > must call some function to determine which of many candidates in a
> > > tile caused the mouse event.  Instead of hundreds or thousands of
> > > pointers to a shared function, why not define the function once for an
> > > entire set of markers.  Similarly, separate calls to the "setMap"
> > > method might be combined.
> >
> > We invert the control flow that you describe. On click a single function
> > computes which marker was hit, and triggers an event on the Marker
> object.
>
> But you have to maintain a zillion different pointers to the same
> common function.  Inserting or removing markers means you must create
> or delete event listeners.  If you do it once for a class of markers,
> you never have to do it again.  Garbage collection is simplified.
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: marker.setZIndex seems to no longer work

2011-03-02 Thread Ben Appleton
When 1 marker changes we just repaint the "dirty rectangle" around it, so
it's quite fast to pop a marker in or out of a tile.

There's a minor issue with leaving the tile alone and rendering another copy
of the marker in front: translucent markers would suddenly appear to have
higher opacity.

On Thu, Mar 3, 2011 at 2:56 PM, bratliff  wrote:

> On Mar 3, 2:07 am, Ben Appleton  wrote:
>
> > We will soon add a robust way to bring a marker to the front.
>
> You could leave the main CANVAS tiles containing many markers alone.
> You could float a separate CANVAS element containing just one marker
> over it.  It also works for temporary style (color / opacity) changes
> to one marker without changing the main tiles.
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: V3 Api error: g is null (98 out of range 40)

2011-03-02 Thread Ajith Ekanayake
Hi Larry,

We managed to clone a site for you to see the problem:
1) Following site uses :  http://maps.google.com/maps/api/js?sensor=true
http://www.respiteseeker2.infoxchange.net.au/
You can see the error on this site
Please enter a value like *3350*  for '*Suburb or Postcode or LGA* '

2) Following uses : http://maps.google.com/maps/api/js?v=3.3&sensor=true
http://www.respiteseeker.infoxchange.net.au/
You can see no  errors on this site
Please enter a value like *3350*  for '*Suburb or Postcode or LGA* '

Thank you

Ajith

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Centering a marker in a dblclick handler doesn't work [V3.4 bug]

2011-03-02 Thread Gary Little
See:

http://code.google.com/p/gmaps-api-issues/issues/detail?id=3090&q=apitype%3AJavascript3%20type%3ADefect&sort=-id%20-stars&colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Internal%20Stars


On Mar 2, 6:45 pm, Ben Appleton  wrote:
> Hi Gary,
>
> Thanks for the simple example, I see it too. We'll take a look. If you'd
> like to track our progress, please file an issue in the tracker 
> here:http://code.google.com/p/gmaps-api-issues/issues/entry?template=Maps%...
>
> 
> Thanks
> Ben
>
>
>
> On Wed, Mar 2, 2011 at 11:14 AM, Gary Little  wrote:
> > I have a simple map which illustrates a problem in the current
> > iteration of V3.4:
>
> >http://www.luxcentral.com/bug/bug3.html
>
> > This map has a single marker with a dblclick handler attached. The
> > handler is supposed to center the map around the marker position and
> > zoom in one level.
>
> > All works well with V3.3.
>
> > With V3.4, the marker is not centered on the map when you double click
> > it. After double-clicking, the map center moves to somewhere north of
> > the marker (so much so that the marker moves off the map and you have
> > to pan down to see it).
>
> > This seems to have started happening last night or earlier today.
>
> > --
> > 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
> > google-maps-js-api-v3@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-api-v3+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: can i display the marker from 'style id = ' in xml, alongside the placemark using associated 'styleUrl'? also can i show only particular 'style id' set? projected overlay prob

2011-03-02 Thread geocode...@gmail.com
On Feb 28, 5:32 pm, "geocode...@gmail.com" 
wrote:
> On Feb 28, 4:53 pm, Christopher Watson 
> wrote:
>
> > hey larry, thanks so much for your help. i knew i'd probably have
> > to copy paste the address details, even if i didnt make this
> > interactive 'bottombar?'
>
> > got your example working beautifully here:

http://visualisationmagazine.com/lacreativemaptest.htm

>
> > for a while i didnt realise to view source when i kept copy
> > pasting xml from directly as displayed in the browser (reminder
> > for anyone who is as silly as me to do so).
>
> > again larry, it might be quicky and dirty, but seems to be
> > sustaining refresh's now. thanks. so interactive, just how i'd
> > imagined.
>
> > *
> > so a few little snags/tweaks if anyone can help.* first 2 below
> > would be luxuries if easy, other two are integral to the design
> > and look (tedious designer here)
>
> >    1. can i display the marker from 'style id = ' alongside the
> > placemark  name in bottombar columns using associated 'styleUrl'?
>
> Sure.

It would be easier if you used the same style for the same color
markers, right now:

[Google Maps API v3] Re: Function Closures

2011-03-02 Thread bratliff
On Mar 2, 8:53 pm, Ben Appleton  wrote:
> > The use of "function closures" for event listeners might work for a
> > few dozen markers but it does not scale well for many hundred or many
> > thousand.  Combining event listeners into a common function with
> > something unique assigned to a property of the marker's "this" object
> > is a step in the right direction.  The redundant function code is
> > reduced but each marker still requires its own event listener pointing
> > to the same common function.
>
> It sounds like you're making a new function for each marker's listener. Note
> that the event target is passed as 'this' to an event listener, so you can
> reuse a single closure for a class of targets. This is what we do internally
> for efficiency.

I do not use API markers at all.  Just a suggestion to improve event
listeners without requiring hundreds or thousands of redundant
pointers to the same common function.  You could define the function
once for an entire "class" of similar markers.  The function would
receive an argument identifying which marker was the target.

> > CANVAS does not provide native mouse support.  All event listeners
> > must call some function to determine which of many candidates in a
> > tile caused the mouse event.  Instead of hundreds or thousands of
> > pointers to a shared function, why not define the function once for an
> > entire set of markers.  Similarly, separate calls to the "setMap"
> > method might be combined.
>
> We invert the control flow that you describe. On click a single function
> computes which marker was hit, and triggers an event on the Marker object.

But you have to maintain a zillion different pointers to the same
common function.  Inserting or removing markers means you must create
or delete event listeners.  If you do it once for a class of markers,
you never have to do it again.  Garbage collection is simplified.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: marker.setZIndex seems to no longer work

2011-03-02 Thread bratliff
On Mar 3, 2:07 am, Ben Appleton  wrote:

> We will soon add a robust way to bring a marker to the front.

You could leave the main CANVAS tiles containing many markers alone.
You could float a separate CANVAS element containing just one marker
over it.  It also works for temporary style (color / opacity) changes
to one marker without changing the main tiles.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: bug IE 8 maps versao 3

2011-03-02 Thread Mario
For all know, you should use:
http://maps.google.com/maps/api/js?v=3.3&sensor=false
NOT
http://maps.google.com/maps/api/js?sensor=false

Its fix the IE bug.

On Mar 2, 6:06 pm, Mario  wrote:
> GUnload removed, but the error continue... Google go go, api version 2
> work better =/
>
> On Mar 2, 12:11 pm, "geocode...@gmail.com" 
> wrote:
>
> > On Mar 2, 6:52 am, Paulo Fernandes  wrote:
>
> > > posting the link of Mario's problem
>
> > >http://www.ribeiraotem.com.br/
>
> > > No firefox aparece tudo corretamente. mas no IE pra variar, sempre > a 
> > > pedra no sapato.
>
> > > To English: on Firefox everything is correct, but on IE, there is
> > > an error.
>
> > Ah, yes, the lovely "unspecified error".
>
> > I can't see where you are waiting for the body onload event to
> > initialize your map.  You also have a GUnload call inside your
> > javascript, that is a Bad Idea(TM), it destroys all the map objects
> > and should only be called on the page unload event.
>
> >   -- Larry
>
> > > @Mario, post in English, everytime
>
> > > Paulo 
> > > Fernandeshttp://www.google.com/profiles/paulofernandesjrhttp://twitter.com/pau...
> > > +55 11 9797-5974
>
> > > On Wed, Mar 2, 2011 at 9:22 AM, Paulo Fernandes
> > > wrote:
>
> > > > Please post a link for your site
>
> > > > READ THE POSTING GUIDELINES
>
> > > > Paulo Fernandes
> > > >http://www.google.com/profiles/paulofernandesjr
> > > >http://twitter.com/paulofernandesj
> > > > +55 11 9797-5974
>
> > > > On Wed, Mar 2, 2011 at 1:41 AM, Mario  wrote:
>
> > > >> O google maps nao funciona perfeitamente no IE.
>
> > > >> Detalhes dos erros da página da Web
>
> > > >> Agente de Usuário: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
> > > >> Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
> > > >> SV1) ;  Embedded Web Browser from:http://bsalsa.com/;.NETCLR
> > > >> 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
> > > >> Carimbo de data/hora: Wed, 2 Mar 2011 04:40:53 UTC
>
> > > >> Mensagem: Erro não especificado.
> > > >> Linha: 33
> > > >> Caractere: 1048
> > > >> Código: 0
> > > >> URI:http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js
>
> > > >> Mensagem: Erro não especificado.
> > > >> Linha: 24
> > > >> Caractere: 78
> > > >> Código: 0
> > > >> URI:http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js
>
> > > >> --
> > > >> 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
> > > >> google-maps-js-api-v3@googlegroups.com.
> > > >> To unsubscribe from this group, send email to
> > > >> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> > > >> For more options, visit this group at
> > > >>http://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Centering a marker in a dblclick handler doesn't work [V3.4 bug]

2011-03-02 Thread Ben Appleton
Hi Gary,

Thanks for the simple example, I see it too. We'll take a look. If you'd
like to track our progress, please file an issue in the tracker here:
http://code.google.com/p/gmaps-api-issues/issues/entry?template=Maps%20API%20v3%20-%20Bug


Thanks
Ben

On Wed, Mar 2, 2011 at 11:14 AM, Gary Little  wrote:

> I have a simple map which illustrates a problem in the current
> iteration of V3.4:
>
> http://www.luxcentral.com/bug/bug3.html
>
> This map has a single marker with a dblclick handler attached. The
> handler is supposed to center the map around the marker position and
> zoom in one level.
>
> All works well with V3.3.
>
> With V3.4, the marker is not centered on the map when you double click
> it. After double-clicking, the map center moves to somewhere north of
> the marker (so much so that the marker moves off the map and you have
> to pan down to see it).
>
> This seems to have started happening last night or earlier today.
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: marker.setZIndex seems to no longer work

2011-03-02 Thread Ben Appleton
Draggable markers are not rendered in Canvas. This is only noticeable when
there is a mix of non-draggable and draggable markers, in which case the
draggable markers pop out in front of the other markers.

On Thu, Mar 3, 2011 at 12:30 PM, Esa  wrote:

> By the way. Draggable marker doesn't behave well right now concerning
> z-index.
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: marker.setZIndex seems to no longer work

2011-03-02 Thread Ben Appleton
Esa

Thanks for talking this through.

On Thu, Mar 3, 2011 at 12:15 PM, Esa  wrote:

> Ben
>
> I am not happy with the answer. We don't know anything about your
> zIndex formula. It used to be 'top' but you never documented it and
> now you even changed the zIndex scheme.
>

Sorry, what do you mean by 'top'?

We used to say "if you want to control the z-index of one of your markers,
you must set the z-index of all of your markers". However that's tedious
when you just want to bring a marker to the front. We will soon add a robust
way to bring a marker to the front.


> If you you would simply add user zIndex to your internal zIndex,
> anyone would be happy.


No, as I described in my last email, users who want to control the z-indices
of all their markers would be unhappy if we modified them. Adding is
undesirable in this case.


> We would be happy without knowing the formula
> you use by latitude. Defining zIndex would be "{z-index:20} will bring
> 20px high icon on top of others". getZIndex() would return 20 and we
> would not be confused with any formulas.
>

In your example you would still need to know the z-index of our markers. If
you wanted to bring a marker to the front, by how much would you increase
its z-index? Why should that be a function of the marker's height?


> I don't see any trouble with making user zIndex relative to API
> internal zIndex.
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: marker.setZIndex seems to no longer work

2011-03-02 Thread Esa
By the way. Draggable marker doesn't behave well right now concerning
z-index.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: marker.setZIndex seems to no longer work

2011-03-02 Thread Esa
Ben

I am not happy with the answer. We don't know anything about your
zIndex formula. It used to be 'top' but you never documented it and
now you even changed the zIndex scheme.

If you you would simply add user zIndex to your internal zIndex,
anyone would be happy. We would be happy without knowing the formula
you use by latitude. Defining zIndex would be "{z-index:20} will bring
20px high icon on top of others". getZIndex() would return 20 and we
would not be confused with any formulas.

I don't see any trouble with making user zIndex relative to API
internal zIndex.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: How to check if a given marker is inside a area

2011-03-02 Thread geocode...@gmail.com
On Mar 2, 5:04 pm, Paulo Fernandes  wrote:
> I didn't understand Larry

Your example does circles only.  The link I provided does point in
polygon analysis for an arbitrary shaped polygon (in that case the
trash pick up regions).  Although the example is no where near as
simple as yours.

  -- Larry

>
> Paulo 
> Fernandeshttp://www.google.com/profiles/paulofernandesjrhttp://twitter.com/paulofernandesj
> +55 11 9797-5974
>
> On Wed, Mar 2, 2011 at 9:58 PM, geocode...@gmail.com
> wrote:
>
>
>
> > How about irregular polygons:
> >http://www.geocodezip.com/geoxml3_test/v3_collection-map2e.html
> > (does point in polygon analysis with the point from the geocoded
> > address)- 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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: How to check if a given marker is inside a area

2011-03-02 Thread Paulo Fernandes
I didn't understand Larry


Paulo Fernandes
http://www.google.com/profiles/paulofernandesjr
http://twitter.com/paulofernandesj
+55 11 9797-5974



On Wed, Mar 2, 2011 at 9:58 PM, geocode...@gmail.com
wrote:

> How about irregular polygons:
> http://www.geocodezip.com/geoxml3_test/v3_collection-map2e.html
> (does point in polygon analysis with the point from the geocoded
> address)
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Is it possible to convert a "LatLng obj" to Lat/Lon coordinates?

2011-03-02 Thread WebbWebs
Thank you, Mike.

I had tried latlng.lat() and latlng.lng() even before seeing the table of 
Methods you indicated. I had also tried results[0].geometry.location.lat 
and results[0].geometry.location.lng without success.

I've been working with navigational charts for many years and I'm one a very 
small list of NOAA authorized distributors for their charts. I'm not used to 
referring to "longitude" as "lng", but as "lon". My best guess is that I was 
probably using .lon() rather than .lng() out of habit. Who knows how long 
I'd have been playing around with this before I figured out the problem. 
Thanks for saving me a great deal of lost time and effort!

Jack

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: How to check if a given marker is inside a area

2011-03-02 Thread geocode...@gmail.com
On Mar 2, 4:50 pm, Paulo Fernandes  wrote:
> I think that I solved this issue
>
> http://www.pjtecnologia.com.br/maps/exemplos/check-lat-lng-is-inside-...
>
> If you zoom in the border of the circle and click, maybe you get the
> "INSIDE" message, I think that is a bug on circle radius size

How about irregular polygons:
http://www.geocodezip.com/geoxml3_test/v3_collection-map2e.html
(does point in polygon analysis with the point from the geocoded
address)

  -- Larry


>
> Paulo 
> Fernandeshttp://www.google.com/profiles/paulofernandesjrhttp://twitter.com/paulofernandesj
> +55 11 9797-5974
>
> On Thu, Feb 17, 2011 at 8:26 AM, Martin Matysiak
> wrote:
>
>
>
> > Your circle object has the getRadius() method. Because of that I think the
> > simplest way to check if a location is in- or outside the circle would be
> > calculating the distance between location and the center of your circle
> > (see geometry 
> > library)
> > and compare the calculated distance to your circle radius.
>
> > Best regards,
> > Martin Matysiak
> >  homepage  | 
> > blog
>
> > --
> > 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
> > google-maps-js-api-v3@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-api-v3+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.- 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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: marker.setZIndex seems to no longer work

2011-03-02 Thread Ben Appleton
Some sites want to control the z-indices of their markers. If we were to add
an API-computed z-index to their z-index, that could change the ordering of
their markers. So if a site wants to control the z-indices of their markers,
we should do exactly what they say.

The issue here is that some sites are happy with the default z-indexing (by
height), but want to bring a marker to the front on hover. Whether we added
their z-index to ours, or obey their z-index directly - they still need to
use a sufficiently large value to ensure their marker appears in front of
everything. So either the API must provide a "maximum z-index" promise,
which would be the maximum z-index the API would assign to a marker, or the
API must provide explicit support for hover.

On Thu, Mar 3, 2011 at 11:26 AM, Esa  wrote:

> Why not add user zIndex to your internal zIndex?
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: V3 Api error: g is null (98 out of range 40)

2011-03-02 Thread geocode...@gmail.com
On Mar 2, 4:12 pm, Ajith Ekanayake  wrote:
> Hi Larry
> Since we have fixed the issue in public sites, I don't
> have an url with the issue. I have attached screenshots using
> my dev env, see the left & right of the screenshots.

I dare you to run a debugger on that picture and tell me what is
wrong.

> When we use version specific api, we don't get the error anymore.
> Due to this error, only one marker get added to the map.
>
> Let me know if you need any more information.

A publicly available map that shows the problem.

> I will try to build a standalone html page and send you.

That won't help me to help you.

  -- Larry

>
> Regards
>
> Ajith
>
>  Screenshot1.JPG
> 334KViewDownload
>
>  Screenshot2.JPG
> 319KViewDownload

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: How to check if a given marker is inside a area

2011-03-02 Thread Paulo Fernandes
I think that I solved this issue

http://www.pjtecnologia.com.br/maps/exemplos/check-lat-lng-is-inside-a-circle.html

If you zoom in the border of the circle and click, maybe you get the
"INSIDE" message, I think that is a bug on circle radius size



Paulo Fernandes
http://www.google.com/profiles/paulofernandesjr
http://twitter.com/paulofernandesj
+55 11 9797-5974



On Thu, Feb 17, 2011 at 8:26 AM, Martin Matysiak
wrote:

> Your circle object has the getRadius() method. Because of that I think the
> simplest way to check if a location is in- or outside the circle would be
> calculating the distance between location and the center of your circle
> (see geometry 
> library)
> and compare the calculated distance to your circle radius.
>
> Best regards,
> Martin Matysiak
>  homepage  | 
> blog
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] map click event when clikcing on FusionTablesLayer

2011-03-02 Thread Vish Uma
Hi all,

The click events on the map don't get fired when the map has a 
FusionTablesLayer on it and when the user clicks inside a feature in the 
FusionTablesLayer. Is this any way around this? I am trying to write some 
drawing tools and the click events not flowing thru is creating huge issues. 
Any ideas/suggestions would be appreciated.

Thank You,
Vish

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: marker.setZIndex seems to no longer work

2011-03-02 Thread Esa
Why not add user zIndex to your internal zIndex?

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Zoom in/out frequently cause null is null or not an object in IE

2011-03-02 Thread geocode...@gmail.com
On Mar 2, 3:47 pm, omrs  wrote:
> I have the exact same problem. How can i validate my code?

HTML Validator:
http://validator.w3.org/

  -- Larry

>
> On 2 Mart, 23:34, Esa  wrote:
>
>
>
> > Any time when IE causes a headache, validate your code first. I did it
> > yesterday.- 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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Zoom in/out frequently cause null is null or not an object in IE

2011-03-02 Thread omrs
I have the exact same problem. How can i validate my code?

On 2 Mart, 23:34, Esa  wrote:
> Any time when IE causes a headache, validate your code first. I did it
> yesterday.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Is it possible to convert a "LatLng obj" to Lat/Lon coordinates?

2011-03-02 Thread Michael Geary
Generally, every object you work with in the Maps API is an actual
JavaScript object, not just a string. Most of these objects have methods you
can call to get information out of them.

Here's the LatLong doc:

http://code.google.com/apis/maps/documentation/javascript/reference.html#LatLng

See
the table of Methods? That's what you're looking for. If you have a LatLng
in a variable called latlng, then you can use latlng.lat() or latlng.lng()
to get the individual numbers.

-Mike

On Wed, Mar 2, 2011 at 3:06 PM, WebbWebs  wrote:

> Although I've been writing code for more years than I care to admit, I am a
> virtual newbie to Google's Mapping API. I'm currently developing an
> iPhone/iPad application that uses a Google map to select the location of
> their birthplace. On initialization, a world map is presented along with a
> text box for input of city, state, country, etc... whatever is needed to
> identify the location. This data then uses the JavaScript API v3 to convert
> the data into map coordinates zooming the map to appropriately identify the
> results.
>
> So far, so good. The LatLng object works great for displaying the map, etc.
> Once the map is presented, however, I then need the actual latitude and
> longitude values for the application itself. It took me considerable time
> dealing with JS errors, before I realized that LatLng is NOT actually a
> string, but an object. (Yeah... I know... I should have read closer.) I have
> done considerable searching, but can find no solution for converting the
> "object" into a "string", so I can use the values in my application. While
> the LatLng object works quite well for Google's own maps, it certainly
> diminishes it's usefulness for anything else.
>
> I can't imagine that I'm the only one facing this dilemma, but I neither
> can I find a published solution. Any assistance would be greatly
> appreciated.
>
> Thanks,
>
> Jack
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Bug adding click events when map div is not visible

2011-03-02 Thread m@uce
Oops. Forgot to mention that this behavior only happens on the Iphone and 
Android mobile browsers. The same page opened in any other browser, 
including Safari for the PC would not duplicate the problem.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Bug adding click events when map div is not visible

2011-03-02 Thread m@uce
I'm using the V3 Maps api within Sencha touch and just noticed a problem. 
When I add clickable markers to my map while the map is not visible(div is 
hidden in a tab panel control), the click events to not fire. I worked 
around the problem by making the markers draggable, which then allowed the 
click events to pass through as well. I set a timer to setdraggable on the 
new markers to false, a second after the map had finished rendering.

Oddly, generating the markers via the same delayed timing mechanism still 
would not allow the markers to respond to click events for whatever reason. 
Seems like a bug in the API.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Is it possible to convert a "LatLng obj" to Lat/Lon coordinates?

2011-03-02 Thread WebbWebs
Although I've been writing code for more years than I care to admit, I am a 
virtual newbie to Google's Mapping API. I'm currently developing an 
iPhone/iPad application that uses a Google map to select the location of 
their birthplace. On initialization, a world map is presented along with a 
text box for input of city, state, country, etc... whatever is needed to 
identify the location. This data then uses the JavaScript API v3 to convert 
the data into map coordinates zooming the map to appropriately identify the 
results.

So far, so good. The LatLng object works great for displaying the map, etc. 
Once the map is presented, however, I then need the actual latitude and 
longitude values for the application itself. It took me considerable time 
dealing with JS errors, before I realized that LatLng is NOT actually a 
string, but an object. (Yeah... I know... I should have read closer.) I have 
done considerable searching, but can find no solution for converting the 
"object" into a "string", so I can use the values in my application. While 
the LatLng object works quite well for Google's own maps, it certainly 
diminishes it's usefulness for anything else.

I can't imagine that I'm the only one facing this dilemma, but I neither can 
I find a published solution. Any assistance would be greatly appreciated.

Thanks,

Jack

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Interactive Map visitors can add to

2011-03-02 Thread Cassandra
Thank you! The shared spaces is exactly what I was looking for.

On Mar 1, 10:08 pm, Chris Broadfoot  wrote:
> Do you need the API for this?
>
> Take a look at My Maps:http://maps.google.com/help/maps/mymaps/create.html
>
> ... and the Shared Spaces 
> equivalent:http://sharedspaces.googlelabs.com/gallery/app?app_id=79001
>
> Chris
>
>
>
>
>
>
>
>
>
> On Wed, Mar 2, 2011 at 3:42 PM, Cassandra  wrote:
> > Hello,
> > I am creating a website for my senior thesis project that involves an
> > interactive map portion. Ideally, I would like visitors to the site to be
> > able to add a "pushpin" to their location. If the pushpin could be
> > accompanied with comments, that would be perfect. I have found documentation
> > on how to create my own annotated google map, but nothing on how my visitors
> > could add to the map. Is there a way to do this?
> > The map will be centered on the Portland, Oregon area but if the project
> > goes well, it's feasible that visitors could be adding pushpins from all
> > over the country. Can I embed a map that has a wide range for zooming
> > in/out?
> > Thanks for your help!
> > -Cassandra
>
> > --
> > 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
> > google-maps-js-api-v3@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-api-v3+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
> --http://twitter.com/broady

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Also nämlich hab ich immer gedacht dass es ein großer Fehler war, deine 500 Dollar zu behalten, und jetzt will ich alles wieder in Ordnung bringen. Verstehe dass du es wahrscheinl

2011-03-02 Thread Zak Patterson
-- 
Zachary Patterson
EJF Real Estate Services, Inc.
2639 Connecticut Avenue, NW #113
Washington, D.C. 20008
202-656-6550 Direct
202-537-1801 Office (x251)
zacharykpatter...@gmail.com

DC: SP720829
VA:  225196595

PRIVILEGED and CONFIDENTIAL COMMUNICATION
The information contained in this e-mail message may involve privileged
and/or confidential material that is solely transmitted for the purposes of
the intended recipient(s).  If the reader of this message is not the
intended recipient, or if this message has been inadvertently directed to
your attention, you are hereby notified that you have received this message
and any attached document(s) in error and that any review, dissemination,
distribution, or copying of this message is strictly prohibited.  If you
have received this message in error, please notify us immediately by return
e-mail and delete and destroy all copies of the original message.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: marker.setZIndex seems to no longer work

2011-03-02 Thread Ben Appleton
That would set the z index to 0. We need a way to let you specify z-index of
0 versus letting the API default to z-index by height. We use null/undefined
to mean "please default to z-index by height".

On Thu, Mar 3, 2011 at 9:00 AM, Esa  wrote:

>
>
> >
> > >  setZIndex(null);
> >
> > > recovers the original z-index? That is great news.
> >
>
> That is absolutely great, but why not setZindex(0);?
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: markers not displayed

2011-03-02 Thread geocode...@gmail.com
On Mar 2, 5:25 am, SSSA  wrote:
> In my PHP generated website I have a map embedded. With javascript I
> initialize the map and put several markers. The coordinates and titles
> of the markers are written into a string by PHP which is then included
> in the JS.
> You can find my code 
> on:http://www.skisprungschanzen.com/EN/Ski+Jumps/GER-Germany/BW-Baden-W%...
> , the JS is located at the very end of the source code.
>
> This worked well all the time, but recently there is only the very
> first marker displayed on each map, the others don't appear. The
> strange thing is, that the markers are still exisiting in the
> markerArray, because using the "map_locate" function I wrote, which
> changes the marker image anf centers the map over the marker, still
> workers (except displaying the marker) (press green arrows next to
> city names to try).
>
> I hope you can give any hints to solve this issue...

I get javascript errors in IE.  Have you tried addressing them?

  -- Larry

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Oblique/45 degree/Birdseye images for v3

2011-03-02 Thread Nianwei Liu
Some lucky areas got so called 45 degree images(birds eye, oblique etc). It 
was available in v2, but not yet available in v3. If you are in one of these 
areas (e.g San Diego) but can not wait for that feature in v3, I've put 
together a hack (sort of) here:

http://gmaps-utility-gis.googlecode.com/svn/trunk/v3samples/45/45.html

It's kind of access tiles directly, but since it's within the API and the 
traffic layer example also use this technique, I guess it's probably OK at 
least to play with. 
It was built using documentation from v2 and the map type/projection specs 
in v3.

Enjoy!

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: marker.setZIndex seems to no longer work

2011-03-02 Thread Esa


>
> >  setZIndex(null);
>
> > recovers the original z-index? That is great news.
>

That is absolutely great, but why not setZindex(0);?

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: KML layer problems

2011-03-02 Thread geocode...@gmail.com
On Mar 2, 8:32 am, mk  wrote:
> Whats wrong with the following lines of code? Why do I not see
> the .kml layer appear? Am I doing this right?
>
Nope.

Failure to read the posting guidelines and provide a link.

Failure to read the documentation on KmlLayer:http://code.google.com/
apis/maps/documentation/javascript/reference.html#KmlLayer

which clearly states:
google.maps.KmlLayer class
A KmlLayer adds geographic markup to the map from a KML, KMZ or GeoRSS
file that is hosted on a publicly accessible web server.

I don't think that it will work over https:

But prove me wrong with a link to your publicly accessible kml.

  -- Larry

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Problems with CSS and IE

2011-03-02 Thread Esa
Why don't you provide a link. Many of the professionals on this forum
have live CSS debuggers available. They might find the trouble
immediately if the saw the patient.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: loading KMZ/KML files with google maps API

2011-03-02 Thread geocode...@gmail.com
On Mar 2, 4:14 am, mk  wrote:
> Hi,
> Is there a tutorial that shows how I can load a KMZ or a KML file with
> the javascript google maps API?

You mean like the one in the documentation?
http://code.google.com/apis/maps/documentation/javascript/overlays.html#KMLLayers

or this from the demo gallery:
http://code.google.com/apis/maps/documentation/javascript/demogallery.html?searchquery=kml%20layers

> I also then want to be able to highlight some of the roads that are on
> this map to display the path to take..what do I look at?

You probably want to study the kml reference also:
http://code.google.com/apis/kml/documentation/kmlreference.html

  -- Larry


> I been looking for sample code or tutorials on how KML files are to be
> loaded using google maps API and couldn't
> find any. Please help a newbie.
>
> Cheers,
> MK

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Zoom in/out frequently cause null is null or not an object in IE

2011-03-02 Thread Esa
Any time when IE causes a headache, validate your code first. I did it
yesterday.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: bug IE 8 maps versao 3

2011-03-02 Thread Mario
GUnload removed, but the error continue... Google go go, api version 2
work better =/

On Mar 2, 12:11 pm, "geocode...@gmail.com" 
wrote:
> On Mar 2, 6:52 am, Paulo Fernandes  wrote:
>
> > posting the link of Mario's problem
>
> >http://www.ribeiraotem.com.br/
>
> > No firefox aparece tudo corretamente. mas no IE pra variar, sempre > a 
> > pedra no sapato.
>
> > To English: on Firefox everything is correct, but on IE, there is
> > an error.
>
> Ah, yes, the lovely "unspecified error".
>
> I can't see where you are waiting for the body onload event to
> initialize your map.  You also have a GUnload call inside your
> javascript, that is a Bad Idea(TM), it destroys all the map objects
> and should only be called on the page unload event.
>
>   -- Larry
>
>
>
> > @Mario, post in English, everytime
>
> > Paulo 
> > Fernandeshttp://www.google.com/profiles/paulofernandesjrhttp://twitter.com/pau...
> > +55 11 9797-5974
>
> > On Wed, Mar 2, 2011 at 9:22 AM, Paulo Fernandes
> > wrote:
>
> > > Please post a link for your site
>
> > > READ THE POSTING GUIDELINES
>
> > > Paulo Fernandes
> > >http://www.google.com/profiles/paulofernandesjr
> > >http://twitter.com/paulofernandesj
> > > +55 11 9797-5974
>
> > > On Wed, Mar 2, 2011 at 1:41 AM, Mario  wrote:
>
> > >> O google maps nao funciona perfeitamente no IE.
>
> > >> Detalhes dos erros da página da Web
>
> > >> Agente de Usuário: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
> > >> Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
> > >> SV1) ;  Embedded Web Browser from:http://bsalsa.com/;.NETCLR
> > >> 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
> > >> Carimbo de data/hora: Wed, 2 Mar 2011 04:40:53 UTC
>
> > >> Mensagem: Erro não especificado.
> > >> Linha: 33
> > >> Caractere: 1048
> > >> Código: 0
> > >> URI:http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js
>
> > >> Mensagem: Erro não especificado.
> > >> Linha: 24
> > >> Caractere: 78
> > >> Código: 0
> > >> URI:http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js
>
> > >> --
> > >> 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
> > >> google-maps-js-api-v3@googlegroups.com.
> > >> To unsubscribe from this group, send email to
> > >> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] markers with animated gifs don't work in api v3

2011-03-02 Thread uno
hello, i'm currently switching from api v2 to v3. in v2, i've used
animated gifs here & there, but in v3 the animation doesn't work on
the normal satellite and road map. (however, they work in street view
mode). is this a known issue or did support for animatited gif stop in
v3? thanks for tips, uno

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Adding a circle with radious x around each point on directions map

2011-03-02 Thread James McGill
Yes, it is possible, but you must first convert your map to Maps API
v3. Once you have done that, calling:

radius.setMap(map);

Will add the circle to your map. As it stands though, this cannot
work, as the V3 circle will not work with a V2 map.

Regards,
James

On Thu, Mar 3, 2011 at 7:52 AM, brothaofdes  wrote:
> Good to know, thank you for the information, but that still does not help
> me. Is it possible to do what I am looking for? If so, how?
>
> --
> 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 google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Center map to different cordinates in a loop

2011-03-02 Thread Ziyan Junaideen
I am very new to JS and am working on a script that shows different
locations in a map using markers as mini project at uni.

Requirement: center map to each cordinate, one after another

What I have: lat and lng values in 2 arrays

Problem: Using a for-loop and map.setCenter()  funciton. Map displays
center only for last item.

Code is quite large, but in short it is like this.

I use AJAX to get location cordinates, store them in 3 arrays.
title_array, lat_array, lng_array which are global variables.

in the initilize() function I place the markers, which have listeners
to detect clicks.

In the code, after initilising the map, I wrote up a function that is
like this.

function center_to_nodes()
{
var i = 0;
for (i = 0; i < lat_array.length; i++){
//sleep(5000);
map.setCenter(new google.maps.LatLng(lat_array[i], lng_array[i]));
alert("POSITION " + i);
//sleep(5000);
}
}

function sleep(milliseconds) {
 setTimeout(function(){
 var start = new Date().getTime();
 while ((new Date().getTime() - start) < milliseconds){
 // Do nothing
 }
 },0);
 }

The alert shows that loop goes node by node, but the map is only
displayed right after the loop has ended.

Hope that some one can help me out.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] markers not displayed

2011-03-02 Thread SSSA
In my PHP generated website I have a map embedded. With javascript I
initialize the map and put several markers. The coordinates and titles
of the markers are written into a string by PHP which is then included
in the JS.
You can find my code on: 
http://www.skisprungschanzen.com/EN/Ski+Jumps/GER-Germany/BW-Baden-W%C3%BCrttemberg/
, the JS is located at the very end of the source code.

This worked well all the time, but recently there is only the very
first marker displayed on each map, the others don't appear. The
strange thing is, that the markers are still exisiting in the
markerArray, because using the "map_locate" function I wrote, which
changes the marker image anf centers the map over the marker, still
workers (except displaying the marker) (press green arrows next to
city names to try).

I hope you can give any hints to solve this issue...

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Center map to different cordinates in a loop

2011-03-02 Thread Ziyan Junaideen
I am very new to JS and am working on a script that shows different
locations in a map using markers as mini project at uni.

Requirement: center map to each cordinate, one after another

What I have: lat and lng values in 2 arrays

Problem: Using a for-loop and map.setCenter()  funciton. Map displays
center only for last item.

Code is quite large, but in short it is like this.

I use AJAX to get location cordinates, store them in 3 arrays.
title_array, lat_array, lng_array which are global variables.

in the initilize() function I place the markers, which have listeners
to detect clicks.

In the code, after initilising the map, I wrote up a function that is
like this.

function center_to_nodes()
{
var i = 0;
for (i = 0; i < lat_array.length; i++){
//sleep(5000);
map.setCenter(new google.maps.LatLng(lat_array[i], lng_array[i]));
alert("POSITION " + i);
//sleep(5000);
}
}

function sleep(milliseconds) {
 setTimeout(function(){
 var start = new Date().getTime();
 while ((new Date().getTime() - start) < milliseconds){
 // Do nothing
 }
 },0);
 }

The alert shows that loop goes node by node, but the map is only
displayed right after the loop has ended.

Hope that some one can help me out.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Problems with CSS and IE

2011-03-02 Thread FartMaster
hey all!

My webpage works perfectly in Chrome and FireFox but I get an error
when I load it in IE...  It works fine when I remove the  tag  but else I get an Invalid argument error ...

here is the code for my div tag

div#pageAlign
{
text-align:center; vertical-align:top;
margin:auto;
background-image:url(/ecom_theme/img/pageBg-repeater.jpg);
background-repeat:repeat-y;
width:1000px;
}


if i remove the width:1000px; line, the map works fine... but I need
it...

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] loading KMZ/KML files with google maps API

2011-03-02 Thread mk
Hi,
Is there a tutorial that shows how I can load a KMZ or a KML file with
the javascript google maps API?
I also then want to be able to highlight some of the roads that are on
this map to display the path to take..what do I look at?
I been looking for sample code or tutorials on how KML files are to be
loaded using google maps API and couldn't
find any. Please help a newbie.

Cheers,
MK

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Map without ROADMAP: the map type control does not give any access to TERRAIN

2011-03-02 Thread glathoud
Hello, I might have missed something, but it seems that the map type
control only gives access to TERRAIN when the map has ROADMAP as
well.

So on a map without ROADMAP it might be difficult for the user to
access TERRAIN.
In case of interest I filed a bug: 
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3089

Best regards,
Guillaume

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Function Closures

2011-03-02 Thread Ben Appleton
Hey Berry

On Mar 3, 2011 6:47 AM, "bratliff"  wrote:
>
> Berry,
>
> Your comment seems to be unrelated to the post. Please start a new
> thread.
>
> Thanks
> Ben
>
> Sorry
>
> The use of "function closures" for event listeners might work for a
> few dozen markers but it does not scale well for many hundred or many
> thousand.  Combining event listeners into a common function with
> something unique assigned to a property of the marker's "this" object
> is a step in the right direction.  The redundant function code is
> reduced but each marker still requires its own event listener pointing
> to the same common function.

It sounds like you're making a new function for each marker's listener. Note
that the event target is passed as 'this' to an event listener, so you can
reuse a single closure for a class of targets. This is what we do internally
for efficiency.

> CANVAS does not provide native mouse support.  All event listeners
> must call some function to determine which of many candidates in a
> tile caused the mouse event.  Instead of hundreds or thousands of
> pointers to a shared function, why not define the function once for an
> entire set of markers.  Similarly, separate calls to the "setMap"
> method might be combined.

We invert the control flow that you describe. On click a single function
computes which marker was hit, and triggers an event on the Marker object.

> The use of "function closures" must be supported for compatability but
> it ought to be discouraged & depreciated & replaced.

I appreciate the naive use of closures (eg. 1 per marker for 10k markers)
causes poor performance, but closures are fast when used well. I think this
is an issue of education then - good examples showing how to get the best
performance out of browsers.

Cheers
Ben

>
> --
> 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
google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Adding a circle with radious x around each point on directions map

2011-03-02 Thread brothaofdes
Good to know, thank you for the information, but that still does not help 
me. Is it possible to do what I am looking for? If so, how?

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Adding a circle with radious x around each point on directions map

2011-03-02 Thread James McGill
You seem to be mixing V2 and V3 of the Maps API. These are two
different versions of the API which cannot be used on the same map.

Regards,
James

On Thu, Mar 3, 2011 at 7:13 AM, brothaofdes  wrote:
> I am using the following to create a map:
> function initialize() {
>   if (GBrowserIsCompatible()) {
>     // Default the map view to the continental U.S.
>     map = new GMap2(document.getElementById("map_canvas"));
>     map.setCenter(new GLatLng(39.9375911, -77.6611022), 10);
>     directionsPanel = document.getElementById("route");
>     map.setUIToDefault();
>     directions = new GDirections(map);
> etc...
>
> and am using waypoints along the route for driver deliveries. What I need to
> do is put radius circles around each point on the map (start, waypoints and
> finish) with a radius of X miles.
>
> Creating the circle is easy:
> var radius =  new google.maps.Circle({
>     center: curcles.getCenter(),
>     map: map,
>     radius: baseMiles,
>     strokeColor: "#FF",
>     strokeOpacity: 0.8,
>     strokeWeight: 2,
>     fillColor: "#FF",
>     fillOpacity: 0.35
>     });
>
> But attaching them to each point on the map is not intuitively obvious. Can
> some one refer me to a guide? I have been searching for about 2 hours now.
>
> Any help is 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 google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] bug IE 8 maps versao 3

2011-03-02 Thread Mario Pacio
I tried the code that indicated paulo but did not have success, same error ...
:(


2011/3/2 Paulo Fernandes 

> in this function, you are passing location as a parameter ans you are
> using cidade, but this is not a problem, only for you do a better code
>
> function Marcador(map, location) {
>
>   image = new google.maps.MarkerImage('/__img/marcador.png',
>   new google.maps.Size(26, 31),
>   new google.maps.Point(0,0),
>   new google.maps.Point(0, 30));
>
>   shadow = new google.maps.MarkerImage('/__img/shadow.png',
>   new google.maps.Size(33, 31),
>   new google.maps.Point(0,0),
>   new google.maps.Point(0,20));
>
>   marker = new google.maps.Marker({
> position: *cidade*,
> map: map,
> //shadow: shadow,
> //icon: image,
> draggable:false
>   });
>   //toggleBounce();
>
> }
>
>
> after marker try to set a
>
> marker.setMap(marker);
>
>
>
> Paulo Fernandes
> http://www.google.com/profiles/paulofernandesjr
> http://twitter.com/paulofernandesj
> +55 11 9797-5974
>
>
>
> On Wed, Mar 2, 2011 at 11:52 AM, Paulo Fernandes <
> paulofernande...@gmail.com> wrote:
>
>> posting the link of Mario's problem
>>
>>  http://www.ribeiraotem.com.br/
>>
>> No firefox aparece tudo corretamente. mas no IE pra variar, sempre a pedra
>> no sapato.
>>
>> To English: on Firefox everything is correct, but on IE, there is an
>> error.
>>
>> @Mario, post in English, everytime
>>
>> Paulo Fernandes
>> http://www.google.com/profiles/paulofernandesjr
>> http://twitter.com/paulofernandesj
>> +55 11 9797-5974
>>
>>
>>
>> On Wed, Mar 2, 2011 at 9:22 AM, Paulo Fernandes <
>> paulofernande...@gmail.com> wrote:
>>
>>> Please post a link for your site
>>>
>>> READ THE POSTING GUIDELINES
>>>
>>>
>>> Paulo Fernandes
>>> http://www.google.com/profiles/paulofernandesjr
>>> http://twitter.com/paulofernandesj
>>> +55 11 9797-5974
>>>
>>>
>>>
>>> On Wed, Mar 2, 2011 at 1:41 AM, Mario  wrote:
>>>
 O google maps nao funciona perfeitamente no IE.

 Detalhes dos erros da página da Web

 Agente de Usuário: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
 Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
 SV1) ;  Embedded Web Browser from: http://bsalsa.com/; .NET CLR
 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
 Carimbo de data/hora: Wed, 2 Mar 2011 04:40:53 UTC


 Mensagem: Erro não especificado.
 Linha: 33
 Caractere: 1048
 Código: 0
 URI: http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js


 Mensagem: Erro não especificado.
 Linha: 24
 Caractere: 78
 Código: 0
 URI: http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js

 --
 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
 google-maps-js-api-v3@googlegroups.com.
 To unsubscribe from this group, send email to
 google-maps-js-api-v3+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-maps-js-api-v3?hl=en.


>>>
>>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Adding a circle with radious x around each point on directions map

2011-03-02 Thread brothaofdes
I am using the following to create a map:
function initialize() {
  if (GBrowserIsCompatible()) {
// Default the map view to the continental U.S.
map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(39.9375911, -77.6611022), 10);
directionsPanel = document.getElementById("route");
map.setUIToDefault();
directions = new GDirections(map);
etc...

and am using waypoints along the route for driver deliveries. What I need to 
do is put radius circles around each point on the map (start, waypoints and 
finish) with a radius of X miles.

Creating the circle is easy:
var radius =  new google.maps.Circle({
center: curcles.getCenter(),
map: map,
radius: baseMiles,
strokeColor: "#FF",
strokeOpacity: 0.8,
strokeWeight: 2,
fillColor: "#FF",
fillOpacity: 0.35
});

But attaching them to each point on the map is not intuitively obvious. Can 
some one refer me to a guide? I have been searching for about 2 hours now.

Any help is 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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Function Closures

2011-03-02 Thread bratliff
Berry,

Your comment seems to be unrelated to the post. Please start a new
thread.

Thanks
Ben

Sorry

The use of "function closures" for event listeners might work for a
few dozen markers but it does not scale well for many hundred or many
thousand.  Combining event listeners into a common function with
something unique assigned to a property of the marker's "this" object
is a step in the right direction.  The redundant function code is
reduced but each marker still requires its own event listener pointing
to the same common function.

CANVAS does not provide native mouse support.  All event listeners
must call some function to determine which of many candidates in a
tile caused the mouse event.  Instead of hundreds or thousands of
pointers to a shared function, why not define the function once for an
entire set of markers.  Similarly, separate calls to the "setMap"
method might be combined.

The use of "function closures" must be supported for compatability but
it ought to be discouraged & depreciated & replaced.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: 2011/3/2 - New Release

2011-03-02 Thread Chad Killingsworth
Custom icons - using canvas (in supporting browsers): 
http://code.google.com/apis/maps/documentation/javascript/examples/icon-complex.html

Chad
 
Killingsworth

On Wednesday, March 2, 2011 11:59:45 AM UTC-6, pkh80 wrote:
>
> Cool! 
>
> Are the Canvas rendered markers only available if using non-custom 
> markers? Anywhere we can see a reference implementation of this 
> feature? 
>
> Thanks! 
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Using GClientGeocoder and GetLocations

2011-03-02 Thread brothaofdes
Found the issue, simple syntax problem. 

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Newbie Q: using overlay with mysql database markers

2011-03-02 Thread JKurtock
Your javascript variable "map" is local to both "initialize" and
"load."  So the second-running function replaces and redraws the map.

Make map a global variable (don't forget to take out "var" inside the
functions.)

You're also missing the  tag.

You're getting closer ...

- Jeff

On Mar 1, 8:34 pm, Skyway  wrote:
> Okay, I have the new V3 versions of both the overlay and the markers that
> pull the info from my database.
>
> Now I just can't view them on the same map because the "body onLoad=" tag
> doesn't seem to be calling both events, only one.  This means that if I
> change the code manually, I can have the overlay appear, but not the
> markers.  If I do the opposite, the marker will appear, but the overlay will
> not.
>
> Here is the URL:http://www.skywaydirectory.com/_mpls2.php
>
> I'll play around with it tomorrow, but I don't know if this is a javascript
> issue or if there is something I'm missing in the map code.
>
> Thank you.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: 2011/3/2 - New Release

2011-03-02 Thread pkh80
Cool!

Are the Canvas rendered markers only available if using non-custom
markers? Anywhere we can see a reference implementation of this
feature?

Thanks!

On Mar 1, 9:08 pm, "Chris Broadfoot (Google Employee)"
 wrote:
> Hi all,
>
> Recently a new version of the Maps API went live. We have made improvements
> to Marker rendering performance.
>
> Mobile browsers and IE can now display hundreds of markers in a second,
> while modern desktop browsers can render thousands of markers in a second.
>
> Note: if you listen for DOM events on elements inside MapPanes, DOM events
> may not fire for elements in Panes 0, 1, and 2. See the MapPanes reference
> here:http://code.google.com/apis/maps/documentation/javascript/reference.h...
>
> A brief reminder (again!) that production sites should specify a minor
> version when loading the 
> API:http://code.google.com/apis/maps/documentation/javascript/basics.html...
>
> In this release:
>   * Markers now rendered in Canvas where available
>   * Bigger click targets for polylines, polygons, KML
>
> Change 
> log:http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIv3Cha...
>
> Thanks,
> Chris

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Using GClientGeocoder and GetLocations

2011-03-02 Thread brothaofdes
I got most of this from Mikes tutorial but cannot seem to get it working 
correctly.

I am passing a zip code to the GClientGeocoder.GetLocations API as follows:


// the document element will pass the zip code ID to the script
// depending on the ID, the getElementID(val) will be created
function validateZip(i){
var zip = "to";
//for(i=1;i<=4;i++){
if(i>1)zip += i;
var testZip = document.getElementById(zip).value;
var ziplen = testZip.len;
if(ziplen==0 || ziplen<5 || ziplen > 5){
document.getElementById("message").value = "Zip at Pos " + i 
+ " is Invalid!";
}
else{
validateAddress(testZip);
}
//}
}

// this is where the issue resides, we enter the function normally at this 
point 
function validateAddress(search) {
// == Perform the Geocoding ==
// but it fails to process the callback function
geo.getLocations(search, function (result)
{
map.clearOverlays();
i=0; 
if (result.Status.code == G_GEO_SUCCESS) {
// = If there was more than one result, "ask did 
you mean" on them all =
if (result.Placemark.length > 1) { 
document.getElementById("message").value = "More 
than 1 result returned...";
}
else{
document.getElementById("message").value += 
result.Placemark[i].address;
}
}
// == Decode the error status ==
else {
var reason="Code "+result.Status.code;
if (reasons[result.Status.code]) {
reason = reasons[result.Status.code]
} 
alert('Could not find "'+search+ '" ' + reason);
}
}
);
}

I am really confused as to why the callback fails (never enters the 
function), but regardless, any help is 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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Problem accessing JSON output from Directions Web Services API

2011-03-02 Thread bratliff
It may not be legal:

http://www.polylib.us/backdoor

Check with Google.  I asked for an opinion several months ago.  I
never received it.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Multi-point Directions

2011-03-02 Thread Rossko
> I have a set of several thousand lat/long points that I need to calculate
> the road distance between each set of points. Is this possible?

You have both technical and legal difficulties.
See
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/5dd03e5e219fbce/ade572d8b883af41

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Problem accessing JSON output from Directions Web Services API

2011-03-02 Thread sandy037
Thanks for all the updates. I will go with V3 API for my application.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Multi-point Directions

2011-03-02 Thread Kat
I have a set of several thousand lat/long points that I need to calculate 
the road distance between each set of points. Is this possible? How can it 
be done?

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Problem accessing JSON output from Directions Web Services API

2011-03-02 Thread Andrew Leach
On 2 March 2011 17:06, sandy037  wrote:
>
> I want to make a mobile application with maps. Since V3 may take more
> time to load, I am just wondering if we can use the web services.

May take more time to load than what?

Basically, you have two choices: either use the client tools, or
implement a proxy (which will come with its own hazards, like using
the server's ip address).

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Problem accessing JSON output from Directions Web Services API

2011-03-02 Thread Andrew Leach
On 2 March 2011 16:46, sandy037  wrote:
> Or can use a dynamic script tag and write a callback function to get
> the results in JSON format?? Does google directions web services
> allows us to specify a callback function?

Doesn't look like it. Even if it works, it couldn't be relied upon
because it's not documented.

http://code.google.com/apis/maps/documentation/directions/#RequestParameters

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Problem accessing JSON output from Directions Web Services API

2011-03-02 Thread sandy037

I want to make a mobile application with maps. Since V3 may take more
time to load, I am just wondering if we can use the web services.

On Mar 2, 10:12 am, "geocode...@gmail.com" 
wrote:
> On Mar 2, 7:05 am, sandy037  wrote:
>
> > I know that DirectionsService() is there, but I want to know if there
> > is some way to access the Web Services API and get the result.
>
> From your server there is. Why do you need to access it from the
> client?
>
>   -- Larry

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Centering a marker in a dblclick handler doesn't work [V3.4 bug]

2011-03-02 Thread Gary Little
Yes, I can certainly specify that I want to use V3.3 and everything
will work as expected. I just want it to work with V3.4 as well!

Gary

On Mar 2, 4:03 am, "Samuel H."  wrote:
> Hello,
>
> Have you checked my last 
> post:http://groups.google.com/group/google-maps-js-api-v3/browse_thread/th...
> It seems the double click event has been changed at some place.
> Do you know if there exist a mean to use only version 3.3 in one code
> app?
>
> On Mar 2, 1:14 am, Gary Little  wrote:
>
>
>
> > I have a simple map which illustrates a problem in the current
> > iteration of V3.4:
>
> >http://www.luxcentral.com/bug/bug3.html
>
> > This map has a single marker with a dblclick handler attached. The
> > handler is supposed to center the map around the marker position and
> > zoom in one level.
>
> > All works well with V3.3.
>
> > With V3.4, the marker is not centered on the map when you double click
> > it. After double-clicking, the map center moves to somewhere north of
> > the marker (so much so that the marker moves off the map and you have
> > to pan down to see it).
>
> > This seems to have started happening last night or earlier today.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] restrict access to kml to google maps only

2011-03-02 Thread Rod
I have a large amount of data (thousands of polygons) that I want to share 
freely with people through my site. I want them to be able to view the 
polygons, and due to the large amount of data, I am not worried about them 
stealing this data through the displayed google map. However, since the kml 
file must be accessible to google, a proficient coder could discover the url 
of the kml files and simply download the entire file. Is there any way to 
restrict access to these kml files only to google so no outside people can 
get to them and simply download it. There was a large amount of effort on my 
part to generate these files, and I would like to protect that effort while 
still allowing people to access the data through the google maps interface. 

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Problem accessing JSON output from Directions Web Services API

2011-03-02 Thread sandy037
Or can use a dynamic script tag and write a callback function to get
the results in JSON format?? Does google directions web services
allows us to specify a callback function?

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Problema o error con google maps a partir del 01/03/11

2011-03-02 Thread Paulo Fernandes
change the version of the javascript
see the changelog

http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIv3Changelog

Maybe this is a bug or something was improved

Paulo Fernandes
http://www.google.com/profiles/paulofernandesjr
http://twitter.com/paulofernandesj
+55 11 9797-5974



2011/3/1 nicolas 

> y les asigno con la funcion addDomListener eventos como hover, click,
> etc
>
> Hoy me encotre con el problema que todas las aplicaciones que hice de
> este modo, cuado hago hover o clicksobre los marcadores no funciona y
> por ejemplo tambien los marcadores le asigno "cursor:pointer" que
> tampoco aparece dicho efecto, es como que hubiera creado una capa
> superpuesta a los marcadores.
>
> Luego de varia pruebas, observe que solo funciona antes que se
> terminen de cargar los "tiles", una vez cargados deja de func
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Map does not display in IE7

2011-03-02 Thread Nick
Thank you, you are a legend.

It's always the littlest thing...

On Mar 2, 4:03 pm, Andrew Leach  wrote:
> On 2 March 2011 15:53, Nick  wrote:
>
>
>
> > Can anyone tip me off as to what I've done wrong?
>
> Here:
>
>   mapTypeControlOptions: {
>                 mapTypeIds: types,
>         style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
>         position: google.maps.ControlPosition.RIGHT_TOP,
>     },
>
> you have a comma immediately before the }.
>
> IE's error is "expected identifier" or something similar, so it's
> telling you that something is missing. In this case, a comma
> *introduces* something new -- it signifies that something is to
> follow, and the browser doesn't find anything, just the } which closes
> the object.
>
> Other browsers are better behaved and simply use commas to separate 
> properties.
>
> The solution is to ensure that any comma is either followed by
> something substantive, or removed altogether.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] How to get signature in google places api

2011-03-02 Thread Paulo Fernandes
Hi

I believe that http://www.google.com/support/forum/p/Places?hl=en forum is
better the this one


Paulo Fernandes
http://www.google.com/profiles/paulofernandesjr
http://twitter.com/paulofernandesj
+55 11 9797-5974



On Tue, Mar 1, 2011 at 1:43 PM, Pawe  wrote:

> i have adsense id.
> and i have private key. i had my wordpress.com. so i could get private
> key.
>
> but i don't have signature.
>
> i read google places api manual many times.
> but i couldn't understand it.
>
>
> is there anyone to explain it simply?
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Map does not display in IE7

2011-03-02 Thread Andrew Leach
On 2 March 2011 15:53, Nick  wrote:
>
> Can anyone tip me off as to what I've done wrong?
>

Here:

  mapTypeControlOptions: {
mapTypeIds: types,
style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
position: google.maps.ControlPosition.RIGHT_TOP,
},

you have a comma immediately before the }.

IE's error is "expected identifier" or something similar, so it's
telling you that something is missing. In this case, a comma
*introduces* something new -- it signifies that something is to
follow, and the browser doesn't find anything, just the } which closes
the object.

Other browsers are better behaved and simply use commas to separate properties.

The solution is to ensure that any comma is either followed by
something substantive, or removed altogether.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Having troubles with path

2011-03-02 Thread Rossko
I've tried to look at www.my-walk.com/index.php yesterday and today,
it seems to go into an endless loop on my browsers.

> Ive put an alert inside the for loop in the code above, and it is not
> showing. The path error must be because the path only contaisn one
> latlng value.

Last that I could look, no path data was arriving at the browser (do
'view source') this is an issue with your php, not the map.
This (at the browser) doesn't look correct
 var coordinates = '.$row["coordinates"].'
'coordinates' is just a string of characters, dollar signs square
brackets and all.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Map does not display in IE7

2011-03-02 Thread Nick
Map doesn't load in IE7 — just a grey box where the map should be. Or
so I'm told — I'm an amateur, and on a mac, so I don't have the
equipment to check it out.

Can anyone tip me off as to what I've done wrong?

http://mercator.webs.com/index%20v7.html

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Problem accessing JSON output from Directions Web Services API

2011-03-02 Thread Andrew Leach
On 2 March 2011 15:05, sandy037  wrote:
> I know that DirectionsService() is there, but I want to know if there
> is some way to access the Web Services API and get the result.

Not from the client, because the browser stops it happening. The
Javascript specification prevents cross-domain access with
XMLHttpRequest. If you're using directions client-side, you should use
the client-side tools provided.

The standard workaround for cross-domain requests is to implement a
proxy on your own domain.

Note: even though you have used Access-Control-Allow-Origin, it is set
on *your* server, not Google's, only IE8/9 will recognise it; and it
requires XDomainRequest, not XMLHttpRequest. Google's servers may
respond to XDomainRequests from arbitrary clients, but you can't force
that.

http://msdn.microsoft.com/en-us/library/dd573303%28v=vs.85%29.aspx

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] bug IE 8 maps versao 3

2011-03-02 Thread Paulo Fernandes
in this function, you are passing location as a parameter ans you are using
cidade, but this is not a problem, only for you do a better code

function Marcador(map, location) {

  image = new google.maps.MarkerImage('/__img/marcador.png',
  new google.maps.Size(26, 31),
  new google.maps.Point(0,0),
  new google.maps.Point(0, 30));

  shadow = new google.maps.MarkerImage('/__img/shadow.png',
  new google.maps.Size(33, 31),
  new google.maps.Point(0,0),
  new google.maps.Point(0,20));

  marker = new google.maps.Marker({
position: *cidade*,
map: map,
//shadow: shadow,
//icon: image,
draggable:false
  });
  //toggleBounce();

}


after marker try to set a

marker.setMap(marker);



Paulo Fernandes
http://www.google.com/profiles/paulofernandesjr
http://twitter.com/paulofernandesj
+55 11 9797-5974



On Wed, Mar 2, 2011 at 11:52 AM, Paulo Fernandes  wrote:

> posting the link of Mario's problem
>
>  http://www.ribeiraotem.com.br/
>
> No firefox aparece tudo corretamente. mas no IE pra variar, sempre a pedra
> no sapato.
>
> To English: on Firefox everything is correct, but on IE, there is an error.
>
> @Mario, post in English, everytime
>
> Paulo Fernandes
> http://www.google.com/profiles/paulofernandesjr
> http://twitter.com/paulofernandesj
> +55 11 9797-5974
>
>
>
> On Wed, Mar 2, 2011 at 9:22 AM, Paulo Fernandes <
> paulofernande...@gmail.com> wrote:
>
>> Please post a link for your site
>>
>> READ THE POSTING GUIDELINES
>>
>>
>> Paulo Fernandes
>> http://www.google.com/profiles/paulofernandesjr
>> http://twitter.com/paulofernandesj
>> +55 11 9797-5974
>>
>>
>>
>> On Wed, Mar 2, 2011 at 1:41 AM, Mario  wrote:
>>
>>> O google maps nao funciona perfeitamente no IE.
>>>
>>> Detalhes dos erros da página da Web
>>>
>>> Agente de Usuário: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
>>> Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
>>> SV1) ;  Embedded Web Browser from: http://bsalsa.com/; .NET CLR
>>> 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
>>> Carimbo de data/hora: Wed, 2 Mar 2011 04:40:53 UTC
>>>
>>>
>>> Mensagem: Erro não especificado.
>>> Linha: 33
>>> Caractere: 1048
>>> Código: 0
>>> URI: http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js
>>>
>>>
>>> Mensagem: Erro não especificado.
>>> Linha: 24
>>> Caractere: 78
>>> Código: 0
>>> URI: http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js
>>>
>>> --
>>> 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
>>> google-maps-js-api-v3@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-maps-js-api-v3+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>>>
>>>
>>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Problem accessing JSON output from Directions Web Services API

2011-03-02 Thread geocode...@gmail.com
On Mar 2, 7:05 am, sandy037  wrote:
> I know that DirectionsService() is there, but I want to know if there
> is some way to access the Web Services API and get the result.

>From your server there is. Why do you need to access it from the
client?

  -- Larry

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: bug IE 8 maps versao 3

2011-03-02 Thread geocode...@gmail.com
On Mar 2, 6:52 am, Paulo Fernandes  wrote:
> posting the link of Mario's problem
>
> http://www.ribeiraotem.com.br/
>
> No firefox aparece tudo corretamente. mas no IE pra variar, sempre > a pedra 
> no sapato.
>
> To English: on Firefox everything is correct, but on IE, there is
> an error.

Ah, yes, the lovely "unspecified error".

I can't see where you are waiting for the body onload event to
initialize your map.  You also have a GUnload call inside your
javascript, that is a Bad Idea(TM), it destroys all the map objects
and should only be called on the page unload event.

  -- Larry

>
> @Mario, post in English, everytime
>
> Paulo 
> Fernandeshttp://www.google.com/profiles/paulofernandesjrhttp://twitter.com/paulofernandesj
> +55 11 9797-5974
>
> On Wed, Mar 2, 2011 at 9:22 AM, Paulo Fernandes
> wrote:
>
>
>
>
>
>
>
> > Please post a link for your site
>
> > READ THE POSTING GUIDELINES
>
> > Paulo Fernandes
> >http://www.google.com/profiles/paulofernandesjr
> >http://twitter.com/paulofernandesj
> > +55 11 9797-5974
>
> > On Wed, Mar 2, 2011 at 1:41 AM, Mario  wrote:
>
> >> O google maps nao funciona perfeitamente no IE.
>
> >> Detalhes dos erros da página da Web
>
> >> Agente de Usuário: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
> >> Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
> >> SV1) ;  Embedded Web Browser from:http://bsalsa.com/;.NET CLR
> >> 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
> >> Carimbo de data/hora: Wed, 2 Mar 2011 04:40:53 UTC
>
> >> Mensagem: Erro não especificado.
> >> Linha: 33
> >> Caractere: 1048
> >> Código: 0
> >> URI:http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js
>
> >> Mensagem: Erro não especificado.
> >> Linha: 24
> >> Caractere: 78
> >> Código: 0
> >> URI:http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js
>
> >> --
> >> 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
> >> google-maps-js-api-v3@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Problem accessing JSON output from Directions Web Services API

2011-03-02 Thread sandy037
I know that DirectionsService() is there, but I want to know if there
is some way to access the Web Services API and get the result.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] bug IE 8 maps versao 3

2011-03-02 Thread Paulo Fernandes
posting the link of Mario's problem

http://www.ribeiraotem.com.br/

No firefox aparece tudo corretamente. mas no IE pra variar, sempre a pedra
no sapato.

To English: on Firefox everything is correct, but on IE, there is an error.

@Mario, post in English, everytime

Paulo Fernandes
http://www.google.com/profiles/paulofernandesjr
http://twitter.com/paulofernandesj
+55 11 9797-5974



On Wed, Mar 2, 2011 at 9:22 AM, Paulo Fernandes
wrote:

> Please post a link for your site
>
> READ THE POSTING GUIDELINES
>
>
> Paulo Fernandes
> http://www.google.com/profiles/paulofernandesjr
> http://twitter.com/paulofernandesj
> +55 11 9797-5974
>
>
>
> On Wed, Mar 2, 2011 at 1:41 AM, Mario  wrote:
>
>> O google maps nao funciona perfeitamente no IE.
>>
>> Detalhes dos erros da página da Web
>>
>> Agente de Usuário: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
>> Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
>> SV1) ;  Embedded Web Browser from: http://bsalsa.com/; .NET CLR
>> 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
>> Carimbo de data/hora: Wed, 2 Mar 2011 04:40:53 UTC
>>
>>
>> Mensagem: Erro não especificado.
>> Linha: 33
>> Caractere: 1048
>> Código: 0
>> URI: http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js
>>
>>
>> Mensagem: Erro não especificado.
>> Linha: 24
>> Caractere: 78
>> Código: 0
>> URI: http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js
>>
>> --
>> 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
>> google-maps-js-api-v3@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-maps-js-api-v3+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>>
>>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: marker.setZIndex seems to no longer work

2011-03-02 Thread Berry Ratliff

Ben Appleton wrote:

No, marker zIndex is supported. When rendering markers in canvas we 
first sort by zIndex.


Sorry - my mistake.  Unlike SVG & VML, style.zIndex applies to the whole 
CANVAS tile.  Sorting does change the rendering order.  The event 
listeners must resolve ambiguity.


--
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Scale dependant points from fusion tables

2011-03-02 Thread mgiles
I need the markers to be buffered in size, where the buffer grows when
the map is zoomed in. As it is now, the heatmap only works while
zoomed out around chicago. When the map is zoomed in the points no
longer overlap and they appear as green markers - not much of a
heatmap! Is this achievable using kml or any other data type?

mgiles wrote:
> I have generated a heat map of homicides in Chicago using data from Google
> Fusion Tables. I have been trying to find a way of making the points from
> the Fusion Table 'scale dependent' (so they grow when zoomed in) so the map
> can actually be used. I have looked everywhere and cant find a way to do it
> - is there any way of doing this?

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] bug IE 8 maps versao 3

2011-03-02 Thread Paulo Fernandes
Please post a link for your site

READ THE POSTING GUIDELINES


Paulo Fernandes
http://www.google.com/profiles/paulofernandesjr
http://twitter.com/paulofernandesj
+55 11 9797-5974



On Wed, Mar 2, 2011 at 1:41 AM, Mario  wrote:

> O google maps nao funciona perfeitamente no IE.
>
> Detalhes dos erros da página da Web
>
> Agente de Usuário: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
> Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
> SV1) ;  Embedded Web Browser from: http://bsalsa.com/; .NET CLR
> 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
> Carimbo de data/hora: Wed, 2 Mar 2011 04:40:53 UTC
>
>
> Mensagem: Erro não especificado.
> Linha: 33
> Caractere: 1048
> Código: 0
> URI: http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js
>
>
> Mensagem: Erro não especificado.
> Linha: 24
> Caractere: 78
> Código: 0
> URI: http://maps.gstatic.com/intl/pt_br/mapfiles/api-3/4/3/main.js
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Iphone 4 weird behaviour

2011-03-02 Thread Chad Killingsworth
I don't have an iPhone 4 so I'm relegated to educated guesses. The links you 
have use frames and they may be playing into this as well. The viewport meta 
tag should go on the frames page by the way if that's what's being loaded 
into your phone.

Chad Killingsworth

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Centering a marker in a dblclick handler doesn't work [V3.4 bug]

2011-03-02 Thread Samuel H.
Hello,

Have you checked my last post:
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/8b6c7377b736159e
It seems the double click event has been changed at some place.
Do you know if there exist a mean to use only version 3.3 in one code
app?

On Mar 2, 1:14 am, Gary Little  wrote:
> I have a simple map which illustrates a problem in the current
> iteration of V3.4:
>
> http://www.luxcentral.com/bug/bug3.html
>
> This map has a single marker with a dblclick handler attached. The
> handler is supposed to center the map around the marker position and
> zoom in one level.
>
> All works well with V3.3.
>
> With V3.4, the marker is not centered on the map when you double click
> it. After double-clicking, the map center moves to somewhere north of
> the marker (so much so that the marker moves off the map and you have
> to pan down to see it).
>
> This seems to have started happening last night or earlier today.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: about "getArea()"

2011-03-02 Thread Rossko
>       i want to know that how to use getArea() in V3. i find it in v2,but
> don't find it in v3.how to measurement area in v3? thanks a lot.

Have you seen the geometry library?
http://code.google.com/apis/maps/documentation/javascript/geometry.html#Distance

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Markers changed to render via canvas?

2011-03-02 Thread pi5701
someone already filed bugreport
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3080

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: As of the new update, marker is displaying 2 shadows, the second is along the x-axis just to the right

2011-03-02 Thread qbit
It's timing out here too... Must be that crappy free american hosting
I'm using grrr (gotta change that..)
Thanks for the heads up on that thread. I'd say your right and that's
the issue.

So I guess I have 2 options:
1 - Keep my version at 3.3 maintaining functionality (the web site
serves my android app) and lose the nightly features until a bug fix
is issued or
2 - change draggable to true and temporarily (until the bug gets
fixed) introduce a small bug into the logic of my android app.

Hmm, I'll have to think about it.

Thanks for your help Chris,
Matthew

On Mar 2, 8:09 pm, Chris Broadfoot  wrote:
> Your site times out for me. It could be related to 
> this:http://code.google.com/p/gmaps-api-issues/issues/detail?id=3080
>
> Chris

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Tileset as an overlay

2011-03-02 Thread Odoakr
Hi!
I have a tileset made from topographical maps. I can add this to the
map as an base map (via google.maps.ImageMapType).

How can I dispaly it on top of google satellite map as an overlay? I
would like to create simple layer swither with opacity control as
well. Have you seen any example?

Thanks for help

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] As of the new update, marker is displaying 2 shadows, the second is along the x-axis just to the right

2011-03-02 Thread Chris Broadfoot
Your site times out for me. It could be related to this:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3080

Chris

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Getting draggable route data out of Google Maps for caching

2011-03-02 Thread Rossko
> We can get the route data out as a JSON file, stringify it, and send
> it via AJAX to a PHP file where we intend to process it and store it
> in MySQL.  However, the JSON being returned from Google Maps appears
> to be malformed;

This post looks relevant
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/3e03797f188f0c2e/c9357f1280d7f022

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] about "getArea()"

2011-03-02 Thread YeeFung Man
  hi,everybody!
  i want to know that how to use getArea() in V3. i find it in v2,but
don't find it in v3.how to measurement area in v3? thanks a lot.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.