[Google Maps API v3] Re: Problem with zooming and moving and setIcon

2011-04-13 Thread Ebpo
Thanks for your reply.

I looked at your code, and I agree that it seems simpler.

The reason why I'm using 3 different images is to get an optimal quality. As 
you can see in your example, if you zoom in a lot (or out a lot for that 
matters), the image gets all "pixely". The map I'm working on will get zoom 
in real close by the visitors.

Do you have any idea why setIcon would cause such a problem? Should I open a 
bug case?

Thanks again for your time.

-- 
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 with zooming and moving and setIcon

2011-04-12 Thread Ebpo
http://www.prod-imaginaxion.ca/soho/

Clic somewhere on the map, scroll to zoom deep, scroll out, basically just 
play with 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] Problem with zooming and moving and setIcon

2011-04-12 Thread Ebpo
Hi everyone,

Here's my problem (hopefully I'm posting in the right thread):

I have a map, which loads a couple of KML (6 actually).
I want to change the size of one marker when I adjust the zoom. So, I catch 
the zoom_changed event, get the zoom, create an image with MarkerImage then 
set it with setIcon (see attached file).

Unfortunatly, when I'm doing this, if I click on the map, then adjust the 
zoom, the maps "freezes" (no zoom, no drag) but the markers from the KML 
files keep on moving, as if the map was still working.

The problems occurs only when I use setIcon.

Could someone shed some light on this for me please?

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.



googlemap_example.js
Description: JavaScript source


[Google Maps API v3] Searching nearest KML Placemark from a specified point

2010-08-10 Thread Ebpo
Hi!

So, here's my question: I load a lot of placemark from a KML file. I
center the map from the user-provided zip-code. What I'd like to do is
to count how much placemark are in a specified radius from the user's
zip-code.

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