[Google Maps API v3] Re: How to Create the Drop Pin function like on "My Places" ?

2011-12-15 Thread sam
can any body tell me how can i find the selected route index from suggested 
routes of google map using javascript

-- 
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/-/jUJdUDyH4JIJ.
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 Create the Drop Pin function like on "My Places" ?

2011-12-15 Thread Enoch Lau (Google Employee)
DrawingManagerallows
 you to provide your users with the ability to add new markers to the 
map by clicking on it. The mouse cursor doesn't change to be a marker as 
you describe it (it's a crosshair instead) but it is otherwise functionally 
the same as what you describe. To implement step 3, listen for a 
'markercomplete' event on your DrawingManager object and show an info 
window in the event listener.

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/-/WhpibDhjBHcJ.
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/11/7 - New Release (3.7) - editable shapes, DrawingManager, and more

2011-12-15 Thread Enoch Lau (Google Employee)
On touch devices, the editing control points *appear* to be the same size 
as on desktop, but they actually have invisible padding around them that 
can receive events. Are you not seeing this behavior on your Galaxy Tab?

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/-/Jva0m0BDOnUJ.
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] how to find the selected route index in google map api v 3

2011-12-15 Thread sam
I am using google map 3 and able to show multiple routes in the div
which i pass in setpanel() method. now what i want is when i click on
any suggested route i should able to get the index of that route.
please help its urgent. thanks in advance.

-- 
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: Region Biasing: Region Codes equal to ccTLD or ISO 3166-1?

2011-12-15 Thread 24/7
To (not) answer my Q myself: After some tests with _safe_ ccTLD codes, I 
found no proof that the geocoder really cares about the region. For ccTLD 
of AT (austria), I go "Ma" I got "Massachusetts, United States.." as answer 
and similar... Btw: I tried it in combination with viewport biasing (and 
without: same result).

I really wonder what algorithm (or idea) is behind building the actual 
response for suggestions. Can't get rid of the feeling that there's just a 
big encyclopedia that contains _all_ names of every address component in 
the world and has alphabetic ordering and therefore throws every result 
back at you that appears to be the first match. When trying "hungary" 
(country), I get "Buda, Nigeria" before "Budapest, Hungary" (the capitol)...

-- 
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/-/VXBEzwoJweMJ.
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] Region Biasing: Region Codes equal to ccTLD or ISO 3166-1?

2011-12-15 Thread 24/7
Hi,

I'm trying to "filter" the search results. In other words: Bind geocoding 
query results to only one ex. country. 

Q: When I'd make an initial query through ex. Geocoder for a country, would 
the "result.address_components.{$country}.short_name" hold the required 
country short code? I'm trying to find out - without having a list of ccTLD 
names/shorts - if I can first query for a country and, in a 2nd step, query 
for addresses only in this country.

Thanks!
K.

-- 
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/-/8xUqOi3McysJ.
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 gmaps api dynamically from a chrome extension content script

2011-12-15 Thread Andrey
Hi there!

i'm trying to load gmap scripts dynamically form via chrome extension. I 
use the following code and call it from extension's content script:

var script = document.createElement("script");
script.src = "https://maps.googleapis.com/maps/api/js?v=3&sensor=false";;
script.type = "text/javascript";
document.getElementsByTagName("head")[0].appendChild(script);

a very popular solution as you can see )

However, this only adds a corresponding tag into the head section, but 
doesn't execute the script.
e.g. main.js is not loaded.

Of coгrse, any further attempts to instantiate a map fail.. 

Beforehand thanks for any suggestions!
Andrey

-- 
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/-/AVOpkAK69zQJ.
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: API Console Counts

2011-12-15 Thread Chris Broadfoot
This was fixed last week, thanks for all the reports on this!

--
G+: http://chrisbroadfoot.id.au/+
Twitter: http://twitter.com/broady

On Fri, Dec 2, 2011 at 1:26 PM, Chris Broadfoot  wrote:

> We're looking into it - looks like there's a problem with our graphs - as
> far as I know we're actually counting quota correctly, just displaying it
> incorrectly.
>

-- 
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 changing kmlLayer dynamically on view change

2011-12-15 Thread Chad Killingsworth

>
> - I have managed to add listeners to get the basic user events, although I 
> think they're a bit clumsy - suggestions welcome
>

Rather than using the "idle" event, have you tried "bounds_changed"?
 

> - I seem to be able to manually construct a url to pass to my kml service 
> and then display the results (currently set as a region covering western 
> Europe).  I can also capture the current view using getBounds().  But 
> trying to shape this into a standard BBOX format (removing parentheses and 
> spaces) seems to break it, no matter what I try, so my ultimate aim of 
> constructing the url using this has so far failed.
>

Instead of depending on the toString() implementation of the LatLngBounds 
object, manually construct your string. Something like:

mybbox.getNorthEast().lat() + "," + mybbox.getNorthEast().lng() + "," + ...
 

> - when it has changed the view and layer, the listener that handles the 
> placemark click seems to be lost, I assume because I've emptied the 
> original layer and reloaded it?
>

Yup. You'll need to re-attach that even listener every time you call "new 
google.maps.KmlLayer"
 

> - This was only intended as a 'quick win' re-using the existing kml, but 
> I'm now starting to think that the effort I am putting into this would be 
> better spent re-engineering it all to deliver json.  Agreed?!
>

Up to you - but as you said you are close.
 

> - I've also now got the 'bug' and want to try more things with this, like 
> custom icons (including a clear indication of the 'current' icon), a 
> 'loading' image when data is being fetched, user input queries (the kml 
> service accepts a simple q= to run a text search), and enhanced 
> navigation.  I'd also quite like to display more placemarks and cluster 
> them.


> But before I plunge headlong into anything I'd welcome any advice, whether 
> it's quick fixes, or longer-term approaches.
>
> Thanks, James
>

It's a cool maps project. Just have fun with it. 

-- 
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/-/n5DVBdI23tsJ.
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] places search autocomplete

2011-12-15 Thread Luke Mahé
Can you include a link to your demo that shows what you have done so far?

Thanks

-- Luke


On Thu, Dec 15, 2011 at 8:57 AM, Austin Buuren wrote:

> Hello everybody,
>
> I embedded this 
> code
>  from
> v3 api examples to my site, but it doesn't search when I hit "Enter" on the
> keyboard, I can only pick the option and start the search by clicking on it.
> Is there any way to enable on-enter-key-press search?
>
> I would be very grateful if someone could help me.
>
> Cheers,
> Austin
>
>  --
> 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/-/3jy98XluousJ.
> 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: A couple of things with markers titles problem and custom overlay

2011-12-15 Thread Johnny K Lo
OMG.  It worked.  I was pointing to the wrong file.  Setting it to false
fix the stacking and title error.  Thank you very very much!

On Thu, Dec 15, 2011 at 2:18 PM, Johnny K Lo  wrote:

> Just tried.  Have it set to false.  it doesn't seem to change anything
> regarding title and stack order...
>
>
> On Thu, Dec 15, 2011 at 11:58 AM, Rossko wrote:
>
>> Have you tried your markers non-optimized?
>>
>> http://code.google.com/apis/maps/documentation/javascript/reference.html#MarkerOptions
>>
>> --
>> 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: A couple of things with markers titles problem and custom overlay

2011-12-15 Thread Johnny K Lo
Just tried.  Have it set to false.  it doesn't seem to change anything
regarding title and stack order...

On Thu, Dec 15, 2011 at 11:58 AM, Rossko  wrote:

> Have you tried your markers non-optimized?
>
> http://code.google.com/apis/maps/documentation/javascript/reference.html#MarkerOptions
>
> --
> 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] polygon tracer

2011-12-15 Thread Paynalton
Hi,

I make a simple polygon tracer tool, it will be avaliable for a time
on https://ideahospedaje.com/modx/politracer.html

Is a very very simple tool that i make to develop another proyect but
If someone want to give it some love it will be avaliable.

When i'll have time i'll clean the javascript code and make more
beatifull.but by now you caun use 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] Problems changing kmlLayer dynamically on view change

2011-12-15 Thread James Morley
Hi, I'm fairly new to the Maps API, but I developed a simple kml service 
for displaying images from Flickr Commons in Google Earth and I was looking 
to see if there was a quick way of displaying this on an embedded map.  The 
service is delivered via a NetworkLink in the kml file at 
http://www.whatsthatpicture.com/flickr/commons.kml which calls 
http://www.whatsthatpicture.com/flickr/commons-kml.php?BBOX=a,b,c,d

I can of course get a crude web visualisation of this at e.g. 
http://maps.google.com/maps?q=http:%2F%2Fwhatsthatpicture.com%2Fflickr%2Fcommons.kml
 
but there are several limitations and I want to create my own custom map.

I have got tantalisingly close using API v3.  You can see the latest 
efforts at http://www.whatsthatpicture.com/flickr/commons-map-v1.php.  This 
is intended to work as follows:
- initially calls the dynamic kml 
http://www.whatsthatpicture.com/flickr/commons-kml.php with no BBOX 
(retrieves latest 100 images globally) and loads into into kmlLayer (works 
fine)
- when the user pans or zooms it refreshes the kmlLayer with data called 
using the current parameters from getBounds (works with manually set BBOX 
value, not with getBounds - see below)

Sorry, long winded introduction, now onto the problems and questions ...

- I have managed to add listeners to get the basic user events, although I 
think they're a bit clumsy - suggestions welcome

- I seem to be able to manually construct a url to pass to my kml service 
and then display the results (currently set as a region covering western 
Europe).  I can also capture the current view using getBounds().  But 
trying to shape this into a standard BBOX format (removing parentheses and 
spaces) seems to break it, no matter what I try, so my ultimate aim of 
constructing the url using this has so far failed.

- when it has changed the view and layer, the listener that handles the 
placemark click seems to be lost, I assume because I've emptied the 
original layer and reloaded it?

- This was only intended as a 'quick win' re-using the existing kml, but 
I'm now starting to think that the effort I am putting into this would be 
better spent re-engineering it all to deliver json.  Agreed?!

- I've also now got the 'bug' and want to try more things with this, like 
custom icons (including a clear indication of the 'current' icon), a 
'loading' image when data is being fetched, user input queries (the kml 
service accepts a simple q= to run a text search), and enhanced 
navigation.  I'd also quite like to display more placemarks and cluster 
them.

But before I plunge headlong into anything I'd welcome any advice, whether 
it's quick fixes, or longer-term approaches.

Thanks, James



-- 
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/-/j0p5WkAxGAkJ.
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: Geometry library not working in IE [8]

2011-12-15 Thread Kasper
Hmm, weird that topzindex was still there. I must have forgotten to
remove it... I wasn't using its functions anymore though.
I also gave the body 100% width and height now, so that is fixed too.
Thanks for pointing out those errors.
Though, it still doesnt work in IE :(

On Dec 15, 9:30 pm, Rossko  wrote:
> > Now, the page with only one left:http://bit.ly/umutPV
>
> Your included script
>  jquery.topzindex.min.js
> is not accessible on your server
>
> You have
>    http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Geometry library not working in IE [8]

2011-12-15 Thread Rossko
> Now, the page with only one left:http://bit.ly/umutPV

Your included script
 jquery.topzindex.min.js
is not accessible on your server

You have
   http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: A couple of things with markers titles problem and custom overlay

2011-12-15 Thread Rossko
Have you tried your markers non-optimized?
http://code.google.com/apis/maps/documentation/javascript/reference.html#MarkerOptions

-- 
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] How to Create the Drop Pin function like on "My Places" ?

2011-12-15 Thread chillsphere
Hi guys,

Hoping you can help - I'm trying to recreate my own mini version of
"My Places"  where you can click on a "pin" button and then the
following happens :

1.  The Mouse Cursor chagnes to a Pin graphic
2.  The user then moves to cursor over the map to drop the pin with
"left-click"  of the mouse
3.  a pop-up infowindow appears allowing them to enter details about
the marker and save.


I'm pretty happy with completing items 2 and 3  but I just cannot work
out how to change the mouse cursor to the Pin.

Current research has suggested using "draggableCursor"  OR adding a
custom class to the my map   that uses CSS to change the pointer.

Unfortunately - I cannot get this to work,  does anyone know of a good
example I can look at?   OR how I should approach this?

One thought has just crossed my mind...  to create a marker itself and
somehow have it in a state where it remains draggable until the next
click of the mouse.

hmmm...   any advice would be sincerely appreciated

Andy

-- 
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: Local searches

2011-12-15 Thread Matt Young
Fantastic. I'll take a look later. You're a star!!

Sent from my iPhone

On 15 Dec 2011, at 11:09, davie  wrote:

> Hi
> See http://daviestrachan.zxq.net/maps/taxicalc2.html
> I have changed it for variable rates
>
> Regards davie
>
> On Dec 14, 10:00 pm, Matt Young  wrote:
>> That's perfect!! Can I use the code?
>>
>> Thanks
>>
>> Sent from my iPhone
>>
>> On 14 Dec 2011, at 21:08, davie  wrote:
>>
>>
>>
>>
>>
>>
>>
>>> Hi
>>> Something like thishttp://daviestrachan.zxq.net/maps/taxicalc.html
>>> works with address or Postcode
>>> Regards Davie
>>
>>> On Dec 13, 7:44 pm, Matt Young  wrote:
 I want to display the map and fine having the directions. How do I
 make the start and end point user defined?
>>
 Sent from my iPhone
>>
 On 13 Dec 2011, at 19:39, Barry Hunter  wrote:
>>
> Hmm, seems my information was outdated
>>
> http://code.google.com/apis/maps/terms.html#section_10_1
>>
> 10.1.1.(g). Says you cant even use it without a map. So just
> displaying the text is no longer enough.
>>
> Cant find anywhere in the documentation that explicitly allows
> displaying content without a map
> http://code.google.com/apis/maps/documentation/javascript/services.ht...
>>
> See also
> http://code.google.com/apis/maps/documentation/directions/#Limits
>>
> On Tue, Dec 13, 2011 at 7:29 PM, Barry Hunter  
> wrote:
>> Actually you do need to display the 'directions box'
>>
>> The terms say you must display the results on a Google Map, or display
>> the whole text (which naturally includes the copyright message)
>>
>> Other than that allowing the user to choose a location, or type. Is
>> not really a Maps API question. A common way to do that is with a
>> 'combo' box.
>>
>> The first result searching for "javascript combo box"
>> http://www.javascriptkit.com/script/cutindex16.shtml
>>
>> On Tue, Dec 13, 2011 at 6:01 PM, Matt  wrote:
>>> I hope someone can help. I have been trying to create a taxi fare
>>> calculator for our new website using Google maps so I've been playing
>>> around with some code. I have managed to create this (excuse the
>>> styling I'm just trying to get the function right first)
>>
>>> http://www.shrewsburytaxiservice.co.uk/shrewsbury_taxi_service_local_...
>>
>>> which has been simple enough using examples from Google tutorials but
>>> what I want to do is make the start and end point editable by the
>>> customer so they can enter a street name, town or postcode as well as
>>> choosing from a pre-selected options list (i.e UK airports) and for
>>> the route to then be calculated giving a result in miles. I don't
>>> really need the directions box although I have included it for now as
>>> it is the only way I have been able to get the distance calculated.
>>> The resulting mileage can then be used to calculate the fare.
>>
>>> Hope that makes sense
>>
>>> 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 
>>> athttp://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 
> athttp://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 
>>> athttp://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+uns

Re: [Google Maps API v3] Re: Local searches

2011-12-15 Thread Matt Young
Hi,

This is great - thank you. Can I ask if there is a way to have
dropdown options such as heathrow airport and for that to produce a
fixed price?

I've put an option in for number of passengers as well as this effects
the price. If there are more than 4 people or if it is between 11pm
and 7am, there is a different rate. Is it possible to calculate based
on these variables?

Thanks

Sent from my iPhone

On 14 Dec 2011, at 21:08, davie  wrote:

> Hi
> Something like this http://daviestrachan.zxq.net/maps/taxicalc.html
> works with address or Postcode
> Regards Davie
>
> On Dec 13, 7:44 pm, Matt Young  wrote:
>> I want to display the map and fine having the directions. How do I
>> make the start and end point user defined?
>>
>> Sent from my iPhone
>>
>> On 13 Dec 2011, at 19:39, Barry Hunter  wrote:
>>
>>
>>
>>
>>
>>
>>
>>> Hmm, seems my information was outdated
>>
>>> http://code.google.com/apis/maps/terms.html#section_10_1
>>
>>> 10.1.1.(g). Says you cant even use it without a map. So just
>>> displaying the text is no longer enough.
>>
>>> Cant find anywhere in the documentation that explicitly allows
>>> displaying content without a map
>>> http://code.google.com/apis/maps/documentation/javascript/services.ht...
>>
>>> See also
>>> http://code.google.com/apis/maps/documentation/directions/#Limits
>>
>>> On Tue, Dec 13, 2011 at 7:29 PM, Barry Hunter  
>>> wrote:
 Actually you do need to display the 'directions box'
>>
 The terms say you must display the results on a Google Map, or display
 the whole text (which naturally includes the copyright message)
>>
 Other than that allowing the user to choose a location, or type. Is
 not really a Maps API question. A common way to do that is with a
 'combo' box.
>>
 The first result searching for "javascript combo box"
 http://www.javascriptkit.com/script/cutindex16.shtml
>>
 On Tue, Dec 13, 2011 at 6:01 PM, Matt  wrote:
> I hope someone can help. I have been trying to create a taxi fare
> calculator for our new website using Google maps so I've been playing
> around with some code. I have managed to create this (excuse the
> styling I'm just trying to get the function right first)
>>
> http://www.shrewsburytaxiservice.co.uk/shrewsbury_taxi_service_local_...
>>
> which has been simple enough using examples from Google tutorials but
> what I want to do is make the start and end point editable by the
> customer so they can enter a street name, town or postcode as well as
> choosing from a pre-selected options list (i.e UK airports) and for
> the route to then be calculated giving a result in miles. I don't
> really need the directions box although I have included it for now as
> it is the only way I have been able to get the distance calculated.
> The resulting mileage can then be used to calculate the fare.
>>
> Hope that makes sense
>>
> 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 
> athttp://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 
>>> athttp://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] access to Street View image dates in API

2011-12-15 Thread Owen Boswarva
Hello,
 
I've noticed that recently image dates have started to appear on Street 
View panorama images on the main Google Maps website.  They appear at the 
bottom of the image near the copyright information.
 
Does anyone know whether the image date is exposed / will be exposed via 
the JavaScript API?  So far there seems to be no reference to this as 
panorama data in the documentation.
 
-- Owen Boswarva
 
 

-- 
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/-/vWndxNHhDRMJ.
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: Draw regions from points at the map

2011-12-15 Thread Carlos Eduardo Rührwiem
Thanks for answearing @Marcelo.

I was trying to use the concept of a cluster but it isn't exacltly what I'm 
looking for because I need fixed clusters on the map (once they have been 
defined they can't change) and it should be able to fill the whole map of 
the country without overlaping each other. (So most of them won't be 
simples cells/rectangles)

It is not the objective to subdivide the country into existing political 
regions, I want to create my regions based on filters.

Any other ideas?

Regards,

Carlos

-- 
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/-/iKfyOHus6BIJ.
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: A couple of things with markers titles problem and custom overlay

2011-12-15 Thread Johnny K Lo
On Wed, Dec 14, 2011 at 3:38 PM, Marcelo  wrote:

> On Dec 14, 10:35 am, K Lo  wrote:
> >
> > First thing is that the titles of the markers doesn't always show in
> > FF (I'm using 8).  Some do some don't.  One thing I figured is that if
> > I move my mouse pointer outside of the maps boundary and back inside,
> > the one that didn't show title would then show title.  I am thinking
> > of making the map full screen and that problem is going to make my map
> > unusable for 1/3 of the browser out there.
>
> I don't have FF8. Looks fine in Chrome.
>

KLO: The titles work on IE8, IE9 and Chrome but not FF8.

>
> >
> > Second thing is the custom overlay image seems to be on top of the
> > markers.  Is there a place I can stick a zIndex to so it'll appear
> > underneath?
>
> Try adding the overlay before adding the markers.
> They go on the same mapPane, so as you're doing it now, when you do
> panes.overlayImage.appendChild(this.div_);
> the markers are already there.
>
> KLO: I have tried adding overlay before adding markers but same result.  I
have tried to put zIndex: 1 into almost every single div.style in the
custom overlay scripts but it doesn't seem to do a thing...  The smallest
zIndex for  my markers is 10.

>
> >
> > Third thing is, if I link away from the map and then back, all markers
> > load regardless of the checkboxes status before I link away.  Any
> > suggestion on how can I control this so the right site of markers will
> > show when I return to the map by clicking 'back' on the browser?
> >
>
> It's an AJAX application, so it does not preserve the state unless you
> preserve it in a server session or a cookie. However, some browsers
> will preserve the state of checkboxes, so you could check the state of
> the checkbox before loading the markers, for example:
>
> //== Untested ===
> if (document.getElementById('Checkbox1').checked) {
>setMarkers(map, ElementarySchools, 'e');
> }
>
> JLO: Thanks!  It works!  How do I setup markers info into the array
> without showing the markers on the map?  Is it MarkerOptions object?
>  Because the latlang of the 'unchecked' markers are not setup in the array
> when the map is initialized.
> --
> Marcelo - http://maps.forum.nu
> --
>
>
>
>
> --
> 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 Mini Map (GOverviewMapControl)

2011-12-15 Thread richcoto
Rossko thanks man, that is what i was looking for, the lack of
documentation about it is horrible, nobody from google could answer
the old posts related with this subject, it was weird knowing i could
do this in v2 and not possible on v3 but now is clear that is easier
in v3, thanks i really appreciate you help...

On Dec 14, 5:40 pm, Rossko  wrote:
> > I i've seen some posts related with this, but the date is from 2009, i
> > want to know if this remains nominimapversion for apiv3
>
> You mean an 
> OverviewMap?http://code.google.com/apis/maps/documentation/javascript/controls.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.



[Google Maps API v3] Re: Issues with Markererclusterplus with ie8 12000 markers

2011-12-15 Thread Marcelo
On Dec 15, 8:34 am, meenu bhatti  wrote:
> Can you provide me any link mentioning how to implement server side 
> clustering.

Sorry but I don't have any links that describe this. I just put my
head to work, thought about what I wanted to happen with the data and
wrote a script that makes it happen. (That's how I earn my living) :-)
Feel free to tell your client to contact me directly through the
contact form on my site.

> Do i need Google API license for this as client has been already
> informed that they need to get the license.

Whatever manipulation you do to your own data, on your server, has
nothing to do with the API or with Google.

--
Marcelo - http://maps.forum.nu
--



>
> On 12/15/11, Marcelo  wrote:
>
>
>
>
>
>
>
> > On Dec 14, 11:33 pm, meenu bhatti  wrote:
>
> >> I cant change the approach as site is already in production.
>
> > Why not? Sure you can! :-)
> > With that many markers I would use server side clustering.
>
> > Here are 2 V2 examples with 40K markers:
> >http://maps.forum.nu/server_side_clusterer/index2.php
> >http://maps.forum.nu/server_side_clusterer/index.php
> > but the server script is not free.
>
> > --
> > Marcelo -http://maps.forum.nu
> > --
>
> >>I tried fusion
> >> tables,but clustering is not possible with that.Earlier there were only
> >> 5000 markers and it was fine.
> >> Please help me .I studied that we can mark 10-15000 markers with
> >> clustering
> >> but for me its very slow.
>
> >> If any one has already implemented the same,can you please forward me the
> >> code.It will be really helpful.
>
> >> Thanks&Regards,
> >> Harman
>
> > --
> > 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: Geometry library not working in IE [8]

2011-12-15 Thread Kasper
Ok, thanks! It would be indeed logical to also get the rest of the
API, but I wasn't completely sure.

Now, the page with only one left: http://bit.ly/umutPV

On Dec 15, 11:13 am, Rossko  wrote:
> > Yes, but still, when I remove one of the two, the error is still
> > there...
>
> When you're ready, show us the page with that problem.  There's no
> point in us looking at a page that is something like the one you are
> having trouble with, and which has some other already identified but
> unfixed problem.
>
> > And when I include the geometry library, does it automatically also
> > include the rest?
>
> Yes, the keyword is 'include'.  One call to the maps API will load the
> core API plus whatever libraries you request in its parameters.

-- 
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: Issues with Markererclusterplus with ie8 12000 markers

2011-12-15 Thread meenu bhatti
Thanks a lot Marcelo,

Can you provide me any link mentioning how to implement server side clustering.
Do i need Google API license for this as client has been already
informed that they need to get the license.

On 12/15/11, Marcelo  wrote:
> On Dec 14, 11:33 pm, meenu bhatti  wrote:
>>
>> I cant change the approach as site is already in production.
>
> Why not? Sure you can! :-)
> With that many markers I would use server side clustering.
>
> Here are 2 V2 examples with 40K markers:
> http://maps.forum.nu/server_side_clusterer/index2.php
> http://maps.forum.nu/server_side_clusterer/index.php
> but the server script is not free.
>
> --
> Marcelo - http://maps.forum.nu
> --
>
>
>
>
>>I tried fusion
>> tables,but clustering is not possible with that.Earlier there were only
>> 5000 markers and it was fine.
>> Please help me .I studied that we can mark 10-15000 markers with
>> clustering
>> but for me its very slow.
>>
>> If any one has already implemented the same,can you please forward me the
>> code.It will be really helpful.
>>
>> Thanks&Regards,
>> Harman
>
> --
> 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: Ajax functionality when using KML files??

2011-12-15 Thread Chad Killingsworth
With the google.maps.KmlLayer implementation, I can't think of any reason 
you'd want to do this (not saying there isn't one). Regardless of the size 
or amount of data in your kml file, the impact to the client browser is 
basically the same - that is to say slightly more than an image tile layer.

What are you trying to accomplish?

-- 
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/-/L4MPNVVMC38J.
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: Issues with Markererclusterplus with ie8 12000 markers

2011-12-15 Thread Marcelo
On Dec 14, 11:33 pm, meenu bhatti  wrote:
>
> I cant change the approach as site is already in production.

Why not? Sure you can! :-)
With that many markers I would use server side clustering.

Here are 2 V2 examples with 40K markers:
http://maps.forum.nu/server_side_clusterer/index2.php
http://maps.forum.nu/server_side_clusterer/index.php
but the server script is not free.

--
Marcelo - http://maps.forum.nu
--




>I tried fusion
> tables,but clustering is not possible with that.Earlier there were only
> 5000 markers and it was fine.
> Please help me .I studied that we can mark 10-15000 markers with clustering
> but for me its very slow.
>
> If any one has already implemented the same,can you please forward me the
> code.It will be really helpful.
>
> Thanks&Regards,
> Harman

-- 
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: Event delegation vs Event handling

2011-12-15 Thread Silver
Thanks Andrew,
Sounds reasonable... please, do you know about some example of that
functionality?
Thanks a lot


On 15 dic, 03:08, Andrew Leach  wrote:
> On 15 December 2011 01:53, Silver  wrote:
>
> > Sorry, but was just an example no matter the overlay type, the
> > question is about listeners.
> > Somebody else with a similar doubt?
>
> I question the approach. What use to the *user* are 3000 polygons?
> Either they are too small to be really useful (if the map is zoomed
> out to see them all) or (when the map is zoomed in) you don't need
> 3000.
>
> I would create polygons which are within a buffer zone around the
> visible area -- once the zoom level is reasonable -- and destroy them
> when you no longer need them; in which case using the standard methods
> for listeners on the polygon may well suffice.

-- 
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] Ajax functionality when using KML files??

2011-12-15 Thread Thoern
Is there some way to render KML ajax like built in maby in the geoxml3
parser or so?
(only open up/render data that is currently within the map)

-- 
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: Local searches

2011-12-15 Thread davie
Hi
See http://daviestrachan.zxq.net/maps/taxicalc2.html
I have changed it for variable rates

Regards davie

On Dec 14, 10:00 pm, Matt Young  wrote:
> That's perfect!! Can I use the code?
>
> Thanks
>
> Sent from my iPhone
>
> On 14 Dec 2011, at 21:08, davie  wrote:
>
>
>
>
>
>
>
> > Hi
> > Something like thishttp://daviestrachan.zxq.net/maps/taxicalc.html
> > works with address or Postcode
> > Regards Davie
>
> > On Dec 13, 7:44 pm, Matt Young  wrote:
> >> I want to display the map and fine having the directions. How do I
> >> make the start and end point user defined?
>
> >> Sent from my iPhone
>
> >> On 13 Dec 2011, at 19:39, Barry Hunter  wrote:
>
> >>> Hmm, seems my information was outdated
>
> >>>http://code.google.com/apis/maps/terms.html#section_10_1
>
> >>> 10.1.1.(g). Says you cant even use it without a map. So just
> >>> displaying the text is no longer enough.
>
> >>> Cant find anywhere in the documentation that explicitly allows
> >>> displaying content without a map
> >>>http://code.google.com/apis/maps/documentation/javascript/services.ht...
>
> >>> See also
> >>>http://code.google.com/apis/maps/documentation/directions/#Limits
>
> >>> On Tue, Dec 13, 2011 at 7:29 PM, Barry Hunter  
> >>> wrote:
>  Actually you do need to display the 'directions box'
>
>  The terms say you must display the results on a Google Map, or display
>  the whole text (which naturally includes the copyright message)
>
>  Other than that allowing the user to choose a location, or type. Is
>  not really a Maps API question. A common way to do that is with a
>  'combo' box.
>
>  The first result searching for "javascript combo box"
> http://www.javascriptkit.com/script/cutindex16.shtml
>
>  On Tue, Dec 13, 2011 at 6:01 PM, Matt  wrote:
> > I hope someone can help. I have been trying to create a taxi fare
> > calculator for our new website using Google maps so I've been playing
> > around with some code. I have managed to create this (excuse the
> > styling I'm just trying to get the function right first)
>
> >http://www.shrewsburytaxiservice.co.uk/shrewsbury_taxi_service_local_...
>
> > which has been simple enough using examples from Google tutorials but
> > what I want to do is make the start and end point editable by the
> > customer so they can enter a street name, town or postcode as well as
> > choosing from a pre-selected options list (i.e UK airports) and for
> > the route to then be calculated giving a result in miles. I don't
> > really need the directions box although I have included it for now as
> > it is the only way I have been able to get the distance calculated.
> > The resulting mileage can then be used to calculate the fare.
>
> > Hope that makes sense
>
> > 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 
> > athttp://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 
> >>> athttp://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 
> > athttp://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: Geometry library not working in IE [8]

2011-12-15 Thread Rossko
> Yes, but still, when I remove one of the two, the error is still
> there...

When you're ready, show us the page with that problem.  There's no
point in us looking at a page that is something like the one you are
having trouble with, and which has some other already identified but
unfixed problem.

> And when I include the geometry library, does it automatically also
> include the rest?

Yes, the keyword is 'include'.  One call to the maps API will load the
core API plus whatever libraries you request in its parameters.

-- 
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: Geometry library not working in IE [8]

2011-12-15 Thread Andrew Leach
On 15 December 2011 09:06, Kasper  wrote:
> Yes, but still, when I remove one of the two, the error is still
> there...
> And when I include the geometry library, does it automatically also
> include the rest?

The documentation isn't great.

You only need one line which looks generally like this:

http://maps.googleapis.com/maps/api/js?sensor=true";>

The part before the ? loads the API. Everything after the ? (apart
from sensor=something) is optional and varies the behaviour of the
API: you can include libraries, specify a particular version, specify
two kinds of localisation and a callback function for asynchronous
loading.

To include more than one library you use a comma-separated list. So
something like this is possible, which should be all together on one
line. This loads the API with all the specified options.

http://maps.googleapis.com/maps/api/js?sensor=false&v=3.5&libraries=geometry,places®ion=GB&language=ja";>

-- 
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: Event delegation vs Event handling

2011-12-15 Thread Andrew Leach
On 15 December 2011 01:53, Silver  wrote:
> Sorry, but was just an example no matter the overlay type, the
> question is about listeners.
> Somebody else with a similar doubt?

I question the approach. What use to the *user* are 3000 polygons?
Either they are too small to be really useful (if the map is zoomed
out to see them all) or (when the map is zoomed in) you don't need
3000.

I would create polygons which are within a buffer zone around the
visible area -- once the zoom level is reasonable -- and destroy them
when you no longer need them; in which case using the standard methods
for listeners on the polygon may well suffice.

-- 
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: Geometry library not working in IE [8]

2011-12-15 Thread Kasper
Yes, but still, when I remove one of the two, the error is still
there...
And when I include the geometry library, does it automatically also
include the rest?

On Dec 15, 3:49 am, Rossko  wrote:
> > Also, when removing one of both, it still doesnt work... :(
>
> Your demo page is still loading the API 
> twicehttp://code.google.com/apis/maps/documentation/javascript/basics.html...
> once will do

-- 
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: Geocoding API not returning lat/long for a valid complete address

2011-12-15 Thread Andrew Leach
On 15 December 2011 07:39, PoojaC  wrote:
> Thanks for your reply.
> When I investigated further on this issue, i found out that the reason is
> not that this address is new or not in geocoder db but the issue is the
> postal code. When i remove the postal code, it gives me the correct lat/long
> coordinates. Now, as far as i could see, this is happening with addresses of
> India only. One solution would be to remove this postal code but they would
> not return precise results for other addresses. Moreoever, why is this
> happening at all when geocoding api accepts the postal code in the input
> address?

The API accepts whatever you give it, which it then tries to make sense of.

This spreadsheet may not be entirely up-to-date, but it shows a
minimum state (the actual result could be better than indicated). It
shows that geocoding in India is "same as tiles", which I doubt
includes postcode data.

http://gmaps-samples.googlecode.com/svn/trunk/mapcoverage_filtered.html

If you do include postcode data for countries which are shown as "same
as tiles", the API is likely to get confused.

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