[Google Maps API v3] Passing URL parameters, open infowindow Maps V3

2011-09-18 Thread hoodsanddrops
Hi All,

I've used the database tutorial and created this 

http://www.forallitsworth.co.uk/index3.html

I've looked around and even tried to understand Mikes tutorial on passing 
URL params but I really could do with some help.

I would like to know how to be able to open an infowindow based on a unique 
URL. Like so.

http://www.forallitsworth.co.uk?=somename

Would anyone have any pointers or tutorial or just a method to get me 
started. I'm a total hibbyist coder so be kind :)

Regards

 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/J8whne9QOZMJ.
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: Custom Tile Layer (SVG based) on Alternate Pane...

2011-09-18 Thread polyarc
It is a bug.  The defaultUI prevents mouse events from reaching the
"overlayLayer" pane.

Try:

streetViewControl:false;useStaticMap:false;

CANVAS is faster than SVG.  CANVAS requires fewer event listeners than
SVG.  "Point in Poly" analysis can be performed directly with CANVAS
elements.

-- 
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: Custom Tile Layer (SVG based) on Alternate Pane...

2011-09-18 Thread polylib
It is a bug.  The defaultUI prevents mouse events from reaching the
"overlayLayer" pane.

Try:

streetViewControl:false;useStaticMap:false;

CANVAS is faster than SVG.  CANVAS requires fewer event listeners than
SVG.  "Point in Poly" analysis can be performed directly with CANVAS
elements.

-- 
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] Problem with maps api and network link

2011-09-18 Thread Sijmen
Hi,

I've run into some strange problem that i cannot explain. For my site, i 
would like to have an updating kml/kmz. So i used the networklink. This 
seems to work with google maps (www.maps.google.com) but not with the api. 
No points will show up. This is the kml file that has the link in it, 
http://www.sijmenhoogendijk.nl/afnh/data/wegsensoren.kml.
Direct url to (Dutch) Google maps: 
http://maps.google.nl/maps?q=http:%2F%2Fwww.sijmenhoogendijk.nl%2Fafnh%2Fdata%2Fwegsensoren.kml&hl=nl&ll=52.317832,4.753293&spn=0.003627,0.009645&sll=52.469397,5.509644&sspn=3.701232,9.876709&vpsrc=6&t=m&z=17

If one would go to afnh.sijmenhoogendijk.nl/ you would see no points 
whatsoever on that map. It doesn't matter if there are thousends of points 
or just one

Could anyone explain to me why maps.google.com behaves differently than the 
api?

Kind regards,

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Ha8QYTlxm50J.
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: memory leak when moving marker

2011-09-18 Thread Ben Appleton
We've worked around the Chrome issue. The fix should go live in version 3.6,
in the next week or two.

Cheers
Ben

On Tue, Sep 13, 2011 at 6:53 PM, Ben Appleton  wrote:

> I pinned this down to a Chrome Windows memory leak:
> http://code.google.com/p/chromium/issues/detail?id=96403
>
> Try
> marker.set('optimized', false);
> in the meantime.
>
> Cheers
> Ben
>
>
> On Tue, Sep 13, 2011 at 2:24 PM, Ben Appleton  wrote:
>
>> Aha, I spoke too soon! Although the Chrome heap debugger shows no JS or
>> DOM memory growth, my OS task manager shows Chrome is leaking memory at
>> 1.5MB/second. I'll see if I can replicate the leak in a stand-alone page
>> (not loading the Maps API) and file a Chrome bug.
>>
>> Meanwhile, you can work around the leak by writing
>> marker.set('optimized', false);
>> to revert to the old DOM-based markers. This fixes the memory leak on my
>> setup.
>>
>> Cheers
>> Ben
>>
>>
>> On Tue, Sep 13, 2011 at 12:59 PM, Ben Appleton wrote:
>>
>>> Thanks for the link, that's very helpful. Unfortunately there is no leak
>>> in Chrome 14 / Windows 7. I'll try Chrome 13, but meanwhile could you
>>> specify the operating system in which you see the issue?
>>>
>>> Cheers
>>> Ben
>>>
>>> On Mon, Sep 12, 2011 at 10:09 PM, en4ce  wrote:
>>>
 same for me, the page crashes... you did try to play around with the
 intervals? maybe something bigger then 50 will help, did you check if
 it crashes randomly or always on the same latlng? try to make a log to
 see how it behaves

 bests

 On 11 Sep., 23:22, Felipe Andrade  wrote:
 > I am having problems with memory when trying to move a marker through
 a
 > large amount of points. My page is one where I have a single marker
 and a
 > large array of LatLng objects (about 2800). I am using chrome
 13.0.782.220,
 > and after a while of the marker moving, the tab crashes. I suspect is
 it
 > because of memory since I see it growing and growing once the page
 loads. I
 > don't see why memory should increase so much since I am using a single
 > marker, and moving it with setPosition.
 >
 > The page can be seen athttp://dl.dropbox.com/u/7020621/map1.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.


>>>
>>
>

-- 
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: Tile query without referer in http header with Webkit

2011-09-18 Thread Ben Appleton
I tried your example, but after playing around for a while I couldn't figure
out what it's intended to demonstrate. Can you specify steps to reproduce
the issue?

Again, v3 does not (and I believe cannot) control the "referer" header in
tile requests. So even if we can replicate the issue, it may not be possible
to fix.

Thanks
Ben

On Fri, Sep 16, 2011 at 7:47 PM, surfish  wrote:

> You can check an example here : http://www.gisdoctor.com/v3/v3_wms.html
> Some Google Maps tile queries send the referer in header, others
> don't !
> A lot of commercial WMS servers require the Referer to validate the
> session token. Google Maps won't able to integrate them if the
> probleme is not solved.
>
>
> On 16 sep, 01:53, Ben Appleton  wrote:
> > Sorry, we can't help you. It sounds like WebKit browsers may not send the
> > referer header for cross-domain requests. Referer is often stripped for
> > privacy by some proxy servers and browsers, so I think you'll have to fix
> > your WMS server.
> >
> > - Ben
> >
> >
> >
> >
> >
> >
> >
> > On Fri, Sep 16, 2011 at 2:59 AM, surfish  wrote:
> > > Thank you Ben.
> >
> > > I DO NOT change anything in the header; I know the cross-domain policy
> > > constraints.
> > > I noticed that Google Maps/Webkit don't send the referer in header
> (check
> > > my header samples) from time to time !!!
> >
> > > Actually, the IGN server (external server, not mine) uses access token
> AND
> > > referer to check that the query is authorized. That is the reason why I
> > > really need Google Maps/Chrom  to send the referer ;-)
> >
> > > Any idea ?
> >
> > > Thank you
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Maps JavaScript API v3" group.
> > > To view this discussion on the web visit
> > >https://groups.google.com/d/msg/google-maps-js-api-v3/-/IC7tI5wZG28J.
> >
> > > 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.
>
>

-- 
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: Did you mean feature from maps.google.com

2011-09-18 Thread Martin™
Have you seen the Places library?

http://code.google.com/apis/maps/documentation/javascript/places.html#places_autocomplete

Martin.


On Sep 18, 2:47 pm, Subodh Shah  wrote:
> Hi,
>
> I am wondering if its possible to implement the *Did you mean* feature which
> is available athttp://maps.google.com?In other words, here is what I am
> trying to do.
>
> If the user inputs A as a location and if there is more that 1 place with
> the same name, I want to show a list of all the possible places/ address;
> allowing user to select the place as per his interest from the various
> options.
>
> Is it possible using the API, especially the DirectionService API? Or is
> there any other API which I can make use of?
>
> Any pointers are most appreciated.
>
> Thanks,
> Subodh

-- 
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: Info window not showing when clicking on an icon

2011-09-18 Thread Enoch Lau (Google Employee)
My guess is that you could probably raise it on the Fusion Tables group - no 
matter what data one puts into Fusion Tables, when you take it out, it 
shouldn't break the browser.

Enoch

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/U1LP-TzxxYQJ.
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: Thousands of API errors

2011-09-18 Thread RoyHB
As quickly as this started, it went away/  No more errors.  Weird.
All is well, my bloated overly complicated page is now reporting good 
health.

I'm going to change my name to "A is null, the man formerly known as "

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/q3hQrMFkNPcJ.
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: Info window not showing when clicking on an icon

2011-09-18 Thread geocode...@gmail.com
On Sep 18, 10:53 am, "Enoch Lau (Google Employee)"
 wrote:
> Is the string "NORD VEST SECURITY SERVICE I/S, Niels Bohrs Vej 6,
> 7500 Holstebro," being supplied by the owner of the table, or is
> that being populated via geocoding?

I believe that was entered into Fusion Tables by the OP.  I don't know
how the  character got there.

But my question is:
If that data is in the Fusion Table and is not supported by some
browsers when passed through the FusionTablesLayer interface, where is
the problem?  Should that not be allowed in the Fusion Table, should
it not be passed to the browser in the response, should the browsers
fix this behavior?  Ideally the browsers should be fixed, but...

And where should the issue be raised?

  Thank you,
  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: Info window not showing when clicking on an icon

2011-09-18 Thread Enoch Lau (Google Employee)
Is the string "NORD VEST SECURITY SERVICE I/S, Niels Bohrs Vej 6, 
7500 Holstebro," being supplied by the owner of the table, or is 
that being populated via geocoding?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/3r7UseZtQhwJ.
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: Did you mean feature from maps.google.com

2011-09-18 Thread geocode...@gmail.com
On Sep 18, 9:47 am, Subodh Shah  wrote:
> Hi,
>
> I am wondering if its possible to implement the *Did you mean* feature which
> is available athttp://maps.google.com?In other words, here is what I am
> trying to do.
>
> If the user inputs A as a location and if there is more that 1 place with
> the same name, I want to show a list of all the possible places/ address;
> allowing user to select the place as per his interest from the various
> options.
>
> Is it possible using the API, especially the DirectionService API? Or is
> there any other API which I can make use of?
>
> Any pointers are most appreciated.

The geocoder will return multiple results to some queries.  It doesn't
have all the same data that google maps uses, but it can be use for
this purpose.

Mike Williams created an example for v2 of the google maps API:
http://econym.org.uk/gmap/didyoumean.htm

His description is still useful and you could try to port that
functionality to v3.
(someone else may have already done so, I haven't)

  -- Larry

>
> Thanks,
> Subodh

-- 
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] Did you mean feature from maps.google.com

2011-09-18 Thread Subodh Shah
Hi,
 
I am wondering if its possible to implement the *Did you mean* feature which 
is available at http://maps.google.com? In other words, here is what I am 
trying to do. 
 
If the user inputs A as a location and if there is more that 1 place with 
the same name, I want to show a list of all the possible places/ address; 
allowing user to select the place as per his interest from the various 
options.
 
Is it possible using the API, especially the DirectionService API? Or is 
there any other API which I can make use of?
 
Any pointers are most appreciated.
 
Thanks,
Subodh

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/ia3aiYTEe1gJ.
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: Info window not showing when clicking on an icon

2011-09-18 Thread geocode...@gmail.com
On Sep 18, 3:05 am, "Enoch Lau (Google Employee)"
 wrote:
> I curl'ed the request that the page is making and it gave me this:
> _xdc_._tv9sga && _xdc_._tv9sga(
> [0,[56.37567820,8.60781480],[["maps_api.col4.Firma","NORD VEST SECURITY
> SERVICE I/S, Niels Bohrs Vej 6, 7500
> Holstebro,"],["maps_api.col0.Nummer","71"],["maps_api.col1.Location","NORD
> VEST SECURITY SERVICE I/S, Niels Bohrs Vej 6, 7500
> Holstebro,"],["maps_api.col2.Politikreds","MIDT- OG VESTJYLLANDS
> POLITI"],["maps_api.col3.Icon type","small_green"],["description","\u003cdiv
> class=\"googft-info-window\"
> style=\"font-family:sans-serif\"\u003e\n\u003cb\u003eFirma:\u003c/b\u003e
> NORD VEST SECURITY SERVICE I/S, Niels Bohrs Vej 6, 7500
> Holstebro,\u003cbr\u003e\n\u003cb\u003eNummer:\u003c/b\u003e
> 71\u003cbr\u003e\n\u003cb\u003eLocation:\u003c/b\u003e NORD VEST SECURITY
> SERVICE I/S, Niels Bohrs Vej 6, 7500
> Holstebro,\u003cbr\u003e\n\u003cb\u003ePolitikreds:\u003c/b\u003e MIDT- OG
> VESTJYLLANDS POLITI\u003cbr\u003e\n\u003cb\u003eIcon type:\u003c/b\u003e
> small_green\n\u003c/div\u003e"]]] )
>
> It looks as if your data has  characters, which some browsers have
> trouble parsing:
> see http://bulknews.typepad.com/blog/2009/02/json-jquery-and-some-unicode...

Enoch,
  Thank you for your reply.  Is this a problem with Fusion Tables or
with the browsers?  Sounds like a problem with Chrome and Firefox.
  Larry

>
> Perhaps remove these characters and see if it still causes a problem.
>
> Enoch

-- 
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: Info window not showing when clicking on an icon

2011-09-18 Thread Enoch Lau (Google Employee)
I curl'ed the request that the page is making and it gave me this:
_xdc_._tv9sga && _xdc_._tv9sga( 
[0,[56.37567820,8.60781480],[["maps_api.col4.Firma","NORD VEST SECURITY 
SERVICE I/S, Niels Bohrs Vej 6, 7500 
Holstebro,"],["maps_api.col0.Nummer","71"],["maps_api.col1.Location","NORD 
VEST SECURITY SERVICE I/S, Niels Bohrs Vej 6, 7500 
Holstebro,"],["maps_api.col2.Politikreds","MIDT- OG VESTJYLLANDS 
POLITI"],["maps_api.col3.Icon type","small_green"],["description","\u003cdiv 
class=\"googft-info-window\" 
style=\"font-family:sans-serif\"\u003e\n\u003cb\u003eFirma:\u003c/b\u003e 
NORD VEST SECURITY SERVICE I/S, Niels Bohrs Vej 6, 7500 
Holstebro,\u003cbr\u003e\n\u003cb\u003eNummer:\u003c/b\u003e 
71\u003cbr\u003e\n\u003cb\u003eLocation:\u003c/b\u003e NORD VEST SECURITY 
SERVICE I/S, Niels Bohrs Vej 6, 7500 
Holstebro,\u003cbr\u003e\n\u003cb\u003ePolitikreds:\u003c/b\u003e MIDT- OG 
VESTJYLLANDS POLITI\u003cbr\u003e\n\u003cb\u003eIcon type:\u003c/b\u003e 
small_green\n\u003c/div\u003e"]]] )

It looks as if your data has  characters, which some browsers have 
trouble parsing: 
see 
http://bulknews.typepad.com/blog/2009/02/json-jquery-and-some-unicode-characters-u2028.html

Perhaps remove these characters and see if it still causes a problem.

Enoch

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/gXvTANVhOCEJ.
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.