[Google Maps API v3] How can I used the overlayMouseTarget Custom Overlays

2011-03-18 Thread sq wang
I am trying to add my layer which can catch the click event. So I focus on 
the overlayMouseTarget  type panes, But I cannot find any example about it. 
Who can help me? Or give me a very simple example. 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] URGENT: Japan QUake Google Map Help

2011-03-18 Thread ervin lawrence


My name is Ervin and I live in Japan near Tokyo. I created a website to find 
homes for some of the 1.5 million homeless. Problem is, I am imputting 
manually the map. I need help with automatic imput. I found this. 
http://code.google.com/apis/maps/articles/phpsqlinfo.html I believe this is 
what I am looking for. But I don't understand it completly. 

I created the tables no problem The next step I don't understand. Please, I 
need help with this. If you are someone else can help, that would be great. 

Thanks.
Operation Share Your Home
Http://enjoyingjapan.com  

-- 
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 and zIndex

2011-03-18 Thread Gary Little
Simon:

I tried your sample and I also observe the problem you're describing.

I added an optimized: false parameter to each marker and everything
now works as expected!

Definitely a bug -- zindex of draggable markers isn't behaving as
expected when optimized is true (the new default).

Gary

On Mar 18, 6:21 am, sgiddings  wrote:
> Hi Chris,
>
> Ok, sample whipped up !http://www.pumaproductions.fr/google/markerzindex.htm
>
> From further tests, it would appear related to the use of the 'draggable'
> property.
>
> This leads me to the following question : would changing the draggable
> property dynamically (through setDraggable) affect the display ?
>
> Simon

-- 
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] non-planetary map

2011-03-18 Thread Bevan Bennett
I have some projecst where I'd like to use the Google Maps UI (because it's 
awesome), but not using maps that correspond to real world LatLong.

It seems like this should be possible, even potentially easy once I create 
suitable tiles, but none of the examples seem to cover this sort of usage, 
and I'm a little lost as to where to start. Good examples of what I'm 
looking for would be a zoomable, pannable, annotated floorplan of a 
building, or of Tolkein's Middle Earth, or LeGuin's EarthSea, or the world 
of Ultima VI...

Can anyone help point me in the right direction for taking an existing map 
image (with distinct edges) and dropping it into the Google Maps UI?

-- 
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] Newbie: Maps works by itself, when adding to site, does not showup.

2011-03-18 Thread AJ
I am wanting to use Google Maps with image overlay to show service coverage 
areas.

I have created the code to do the google map kml ground overlay using 
Javascript  and it works by itself.

But I want to incorporate it in to our website, so that the background, menu 
etc looks uniform with the rest of the site.
So, I tried pasting the code in ...

It looks ok, except the map does not show up. 

I am not a web developer and so, maybe I am overlooking something... .. and 
try troubleshooting by trial & error

And now, I have come to the conclusion that it is because of the two  codes on that page 

when I disable the 1st  line,* it displays *the map 
properly but then it does not display my webpage's main navigation bar

I will attach the file if someone is willing to take a look at it & help.

Thx
AJ

-- 
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] Ocassional "Blank" Maps?

2011-03-18 Thread etheriau
Hi--

Yesterday afternoon, I loaded my site in my web browser and my maps were 
empty no matter what I did (different browsers, different machines, 
different networks, no errors in the browser Error Console) and when I went 
into my Google Account to pause my ads, that UI was indicating that things 
were temporarily unavailable (possibly related, possibly not). A few minutes 
after noticing this, everything seemed back to normal. I've not personally 
seen it happen since then.

Today, I got a report from a user indicating the same problem -- he did not 
provide very much debugging information, so I can't provide more detail than 
this.

I've not recently touched our use of the Google Map API and I've selected 
version 3.3 by default. Is there something wonky going on on the Google side 
or is it something that I should be taking a look at?

Please let me know.  Thanks.

Eric

-- 
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: Extract Example Doesn't Show all Data

2011-03-18 Thread geocode...@gmail.com
On Mar 18, 5:14 pm, Andrew Sparrow  wrote:
> So what I'm trying to do is pretty simple. I just want the simple geocoding
> example.  

A geocoder takes a (usually) postal address and returns the
coordinates.

A reverse geocoder takes coordinates and returns the address.

> Unfortunately the sample shows the name of the place, but doesn't
> include all the other info you usually get from google maps, like address,
> phone number, website, image, etc, that show up in that little pop-up. Is
> there a way to make all the info show 
> up?http://code.google.com/apis/ajax/playground/?exp=localsearch#geocodin...

You need a different API for that information (or to use your own
database to supply it).

The local search API (I believe) returned the "business" results you
are looking for, that API is now deprecated,  I believe its
replacement is the places API, you might look at that:
http://code.google.com/apis/maps/documentation/places/

  -- 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] Extract Example Doesn't Show all Data

2011-03-18 Thread Andrew Sparrow
So what I'm trying to do is pretty simple. I just want the simple geocoding 
example.  Unfortunately the sample shows the name of the place, but doesn't 
include all the other info you usually get from google maps, like address, 
phone number, website, image, etc, that show up in that little pop-up. Is 
there a way to make all the info show up?
http://code.google.com/apis/ajax/playground/?exp=localsearch#geocoding_simple


-- 
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] Display Adsense for maps ad in an external div.

2011-03-18 Thread Tim H
How do I display an v3 api Adsense ad in an external div, ie outside 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: kml v3 overlay

2011-03-18 Thread geocode...@gmail.com
On Mar 18, 4:21 pm, Greg Borbonus  wrote:
> Hi Guys,
>
> I'm developing a site with a google map system and a neighborhood KML
> system.
>
> I'm wondering if you all can help me to determine where an address
> fits in.
>
> for example, I load a kml file on a map(
http://greg.prowebconcepts.com/test.html
>
> 3 things I'd like to have happen.
>
> 1, it's lighter blue(my kml file says to output grey, for some reason
> it's showing blue).

Google Maps & KmlLayer don't support StyleMap

> 2, when the mouse is put over a section, I'd like it to get the
> opacity up.

Can't do that with KmlLayer (doesn't support StyleMap or mouseover)

> 3, when a user clicks a section, I'd like to know where they clicked
> so I can prepopulate a form.

KmlLayer supports click events.

>
> that's for the map, I'm hoping there is a call that can tell me if a
> point that the user clicked, or the address they entered is within one
> of my polygons.

Like this?
http://www.geocodezip.com/geoxml3_test/v3_collection-map2e.html

Doesn't use KmlLayer, uses a third party parser: geoxml3.
1. which can be coded support the StyleMap tag (but it doesn't support
it by default):
http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_stylemap_marker.html?filename=http://www.geocodezip.com/geoxml3_test/rollover_kml.xml

and 2. as it uses native v3 objects rather than tiles, does support
mouseovers:
http://www.geocodezip.com/geoxml3_test/v3_geoxml3_polygon_highlight.html

The disadvantage is that it uses native v3 objects rather than tiles,
so with complex kml it will not perform as well.

http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_stylemap_marker.html?filename=http://www.geocodezip.com/geoxml3_test/greg_prowebconcepts_com_testing3_kml.xml

  -- Larry

> If you all could help me with this(I've already spent a full day
> getting a shp into mysql then out as a kml, then debugging why the kml
> does not work on my domain, but works on another I have).
>
> Please let me know if you can help.
>
> --
> Thank you,
> Greg Borbonus
> *nix System Administrator
> gregborbo...@gmail.com

-- 
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] kml v3 overlay

2011-03-18 Thread Greg Borbonus
Hi Guys,

I'm developing a site with a google map system and a neighborhood KML
system.

I'm wondering if you all can help me to determine where an address
fits in.

for example, I load a kml file on a map(http://greg.prowebconcepts.com/
test.html).

3 things I'd like to have happen.

1, it's lighter blue(my kml file says to output grey, for some reason
it's showing blue).
2, when the mouse is put over a section, I'd like it to get the
opacity up.
3, when a user clicks a section, I'd like to know where they clicked
so I can prepopulate a form.


that's for the map, I'm hoping there is a call that can tell me if a
point that the user clicked, or the address they entered is within one
of my polygons.
If you all could help me with this(I've already spent a full day
getting a shp into mysql then out as a kml, then debugging why the kml
does not work on my domain, but works on another I have).

Please let me know if you can help.

--
Thank you,
Greg Borbonus
*nix System Administrator
gregborbo...@gmail.com

-- 
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 ajax to add a Marker in DB

2011-03-18 Thread thebit
Hello,
I realise (with the help of this wonderful google group) a JS code
that allows to add Marker and save them into a DB.
A example (not perfectly working) it's visible by going to
http://thebit.altervista.org/maps/testAddMarker3.php

So, the problem I have is to add the marker (which works in this
moment whitout problems) with ajax.
I write this ajax code:
*
$(document).ready(function()
{
$("#bottone").click(function()
{
var nome = $("#nome").val();
var descrizione = 
$("#descrizione").val();
//var coordinate = $("#coord").val();
$.ajax(
{
  type: "POST",
  url: "insertPage.php",
  data: "nome=" +nome+ "&descrizione=" 
+descrizione/*+
"&coordinate=" +coordinate*/,
  dataType: "html",
  success: function(msg)
  {
$("#risultato").html(msg);
  },
  error: function()
  {
alert("Error");
  }
});
});
});
***
I add the button instead a input submit (but I cannot uploaded yet the
new form) but if I click over the button, it does not works.
Why?

-- 
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: Multiple KMZ Files Load but Click Events Don't work

2011-03-18 Thread Wayne Taylor
What I found was that the resolution of the screen was what was causing my
issue.  What I did to fix it was define the window that my map loads into to
400px X 700px.  the actual code is below. It really doesn't make scenes why
this fixed the issue but it worked for me. Hope it can help you.

document.write('wrote:

> On Mar 18, 1:49 pm, M  wrote:
> > Do you want just the KMZ file?
>
> Not really. A link to a map that shows the problem you are seeing
> would let me see it.  Once I can see the problem, I can investigate
> it, if I need the kmz file to do that, I can get it from there.
>
>  -- Larry
>
> >
> > On Mar 18, 2:44 pm, "geocode...@gmail.com" 
> > wrote:
> >
> > > On Mar 18, 1:31 pm, M  wrote:
> >
> > > > I get something similar on my map.
> >
> > > > The map doesn't seem to display click-able regions on my kmlLayer for
> > > > certain zoom levels even though I have added a click handler. For me
> > > > zoom level 5 doesn't let me click any of the KML areas to get the
> > > > click event to trigger. However, all zoom levels other than 5 work
> > > > fine...
> >
> > > > Does anyone have a good solution to this problem?
> >
> > > Haven't seen the problem.
> >
> > > Do you have a publicly available map that exhibits it?
> >
> > >   -- Larry
> >
> > > > On Feb 11, 9:04 am, Liander  wrote:
> >
> > > > > I have 6 KMZ files that over lay the state of Utah.  Each of these
> > > > > needs to have a 'Click' listener added to is so that when a user
> click
> > > > > on an area the data in the KMZ file is displayed via an alert.
> >
> > > > > Link to Map.  The button labeled Wayne launchmultipleKMZ is the map
> > > > > I am working on.
> http://www.utah-hunt.com/UDWR_Maps/CallRegionalMap.aspx
> >
> > > > > I have tried Adding a Listener to each of the KML layers but am
> having
> > > > > no luck.
> >
> > > > > Also I have noticed that if Izoomin the click listeners does work,
> > > > > however atzoomlevel 7 they do not and I need them to work at
> allzoomlevels.
>
> --
> 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 cursor does not change

2011-03-18 Thread Rossko
> What's wrong here?

Where? i.e. where is your demonstration of your problem?

If you want a wild guess, I would think you haven't set the shape
property of your icon properly.

-- 
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: Multiple KMZ Files Load but Click Events Don't work

2011-03-18 Thread geocode...@gmail.com
On Mar 18, 1:49 pm, M  wrote:
> Do you want just the KMZ file?

Not really. A link to a map that shows the problem you are seeing
would let me see it.  Once I can see the problem, I can investigate
it, if I need the kmz file to do that, I can get it from there.

  -- Larry

>
> On Mar 18, 2:44 pm, "geocode...@gmail.com" 
> wrote:
>
> > On Mar 18, 1:31 pm, M  wrote:
>
> > > I get something similar on my map.
>
> > > The map doesn't seem to display click-able regions on my kmlLayer for
> > > certain zoom levels even though I have added a click handler. For me
> > > zoom level 5 doesn't let me click any of the KML areas to get the
> > > click event to trigger. However, all zoom levels other than 5 work
> > > fine...
>
> > > Does anyone have a good solution to this problem?
>
> > Haven't seen the problem.
>
> > Do you have a publicly available map that exhibits it?
>
> >   -- Larry
>
> > > On Feb 11, 9:04 am, Liander  wrote:
>
> > > > I have 6 KMZ files that over lay the state of Utah.  Each of these
> > > > needs to have a 'Click' listener added to is so that when a user click
> > > > on an area the data in the KMZ file is displayed via an alert.
>
> > > > Link to Map.  The button labeled Wayne launchmultipleKMZ is the map
> > > > I am working on.http://www.utah-hunt.com/UDWR_Maps/CallRegionalMap.aspx
>
> > > > I have tried Adding a Listener to each of the KML layers but am having
> > > > no luck.
>
> > > > Also I have noticed that if Izoomin the click listeners does work,
> > > > however atzoomlevel 7 they do not and I need them to work at 
> > > > allzoomlevels.

-- 
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: Multiple KMZ Files Load but Click Events Don't work

2011-03-18 Thread M
Do you want just the KMZ file?

On Mar 18, 2:44 pm, "geocode...@gmail.com" 
wrote:
> On Mar 18, 1:31 pm, M  wrote:
>
> > I get something similar on my map.
>
> > The map doesn't seem to display click-able regions on my kmlLayer for
> > certain zoom levels even though I have added a click handler. For me
> > zoom level 5 doesn't let me click any of the KML areas to get the
> > click event to trigger. However, all zoom levels other than 5 work
> > fine...
>
> > Does anyone have a good solution to this problem?
>
> Haven't seen the problem.
>
> Do you have a publicly available map that exhibits it?
>
>   -- Larry
>
>
>
> > On Feb 11, 9:04 am, Liander  wrote:
>
> > > I have 6 KMZ files that over lay the state of Utah.  Each of these
> > > needs to have a 'Click' listener added to is so that when a user click
> > > on an area the data in the KMZ file is displayed via an alert.
>
> > > Link to Map.  The button labeled Wayne launchmultipleKMZ is the map
> > > I am working on.http://www.utah-hunt.com/UDWR_Maps/CallRegionalMap.aspx
>
> > > I have tried Adding a Listener to each of the KML layers but am having
> > > no luck.
>
> > > Also I have noticed that if Izoomin the click listeners does work,
> > > however atzoomlevel 7 they do not and I need them to work at 
> > > allzoomlevels.

-- 
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: Multiple KMZ Files Load but Click Events Don't work

2011-03-18 Thread geocode...@gmail.com
On Mar 18, 1:31 pm, M  wrote:
> I get something similar on my map.
>
> The map doesn't seem to display click-able regions on my kmlLayer for
> certain zoom levels even though I have added a click handler. For me
> zoom level 5 doesn't let me click any of the KML areas to get the
> click event to trigger. However, all zoom levels other than 5 work
> fine...
>
> Does anyone have a good solution to this problem?

Haven't seen the problem.

Do you have a publicly available map that exhibits it?

  -- Larry

>
> On Feb 11, 9:04 am, Liander  wrote:
>
> > I have 6 KMZ files that over lay the state of Utah.  Each of these
> > needs to have a 'Click' listener added to is so that when a user click
> > on an area the data in the KMZ file is displayed via an alert.
>
> > Link to Map.  The button labeled Wayne launchmultipleKMZ is the map
> > I am working on.http://www.utah-hunt.com/UDWR_Maps/CallRegionalMap.aspx
>
> > I have tried Adding a Listener to each of the KML layers but am having
> > no luck.
>
> > Also I have noticed that if Izoomin the click listeners does work,
> > however atzoomlevel 7 they do not and I need them to work at allzoomlevels.

-- 
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: Multiple KMZ Files Load but Click Events Don't work

2011-03-18 Thread M
I get something similar on my map.

The map doesn't seem to display click-able regions on my kmlLayer for
certain zoom levels even though I have added a click handler. For me
zoom level 5 doesn't let me click any of the KML areas to get the
click event to trigger. However, all zoom levels other than 5 work
fine...

Does anyone have a good solution to this problem?

On Feb 11, 9:04 am, Liander  wrote:
> I have 6 KMZ files that over lay the state of Utah.  Each of these
> needs to have a 'Click' listener added to is so that when a user click
> on an area the data in the KMZ file is displayed via an alert.
>
> Link to Map.  The button labeled Wayne launchmultipleKMZ is the map
> I am working on.http://www.utah-hunt.com/UDWR_Maps/CallRegionalMap.aspx
>
> I have tried Adding a Listener to each of the KML layers but am having
> no luck.
>
> Also I have noticed that if Izoomin the click listeners does work,
> however atzoomlevel 7 they do not and I need them to work at allzoomlevels.

-- 
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] Marker cursor does not change

2011-03-18 Thread Yves
I can define whatever cursor and shape I want for a Marker, it just
doesn't change the cursor to anything than the default arrow. What's
wrong here? I've added a click handler for my Markers so that the user
is redirected to a detail view for that marker. A "pointing hand"
cursor would be very appreciated here.

I set the following properties of the Marker: position, title (the
tooltip appears only sporadically), map, icon, shadow, cursor, shape,
zIndex

Firefox 3.6.latest on Windows XP.

-- 
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: Slow loading markers

2011-03-18 Thread Rossko
> Hope the link helps.

No, it doesn't.

-- 
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: Dynamic viewport and sidebar update with clustering

2011-03-18 Thread stefano
The typo was the problem. Now it seems to work. Thanks.
http://www.onethousandcolors.com/test/cluster6.php?cLat=45&cLng=8

Stefano


On Mar 17, 2:59 pm, "geocode...@gmail.com" 
wrote:

> That (and fixing a typo in this line:
>         markerCluster = new MarkerClusterer(map, gmarkers);
> (markerCluster is markerClusterer everywhere else)
> and moving your functions into the global scope), seems to make it
> work for me.
>
>   -- 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.



Re: [Google Maps API v3] Re: Is it possible to let the user draw curved directions on the map?

2011-03-18 Thread Diogo Outerelo da Silva
I don't know if it's the best choice, but there a way to find the middle
latlongs. The link of the algorithm:
http://www.youtube.com/watch?v=qtraD3e6Ka0

On Fri, Mar 18, 2011 at 3:20 PM, Alex Genadinik wrote:

> No idea where to even start there :)
> Any examples or source I can browse to get an idea of how to do this?
>
>
> Thanks,
> Alex
>
> --
> 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.
>



-- 
Atc,
Diogo

--

-- 
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 and zIndex

2011-03-18 Thread bratliff
To Ben Appleton:

I believe you could fix it if you did not move the child node position
of the DIV containing the CANVAS tiles.  Discard the CANVAS tiles but
do not discard the DIV parent node.  Alternatively, just slip another
DIV layer in between.

-- 
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: Draggable markers sometimes disappearing on Safari/Mac

2011-03-18 Thread Gary Little
I've now seen this even with non-draggable markers and have created a
test case. See:

http://code.google.com/p/gmaps-api-issues/issues/detail?id=3162

Gary

On Mar 12, 4:45 pm, Gary Little  wrote:
> All,
>
> I'm experiencing an odd situation which I believe is unique toSafari
> 5.0.4 running on Mac OS X (in my case 10.6.6).
>
> I have created a map containing draggablemarkers. When I zoom the map
> in, then pan so that othermarkersshould be exposed, they sometimes
> do not appear. They usually reappear after zooming out.
>
> I don't yet have a minimal example that illustrates the problem, but I
> will post one as soon as I can reproduce the issue.
>
> The goal of this posting is simply to alert others. If you've seen a
> similar problem, please let me know.
>
> By the way, I do not observe this problem if themarkersare not
> draggable.

-- 
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 and zIndex

2011-03-18 Thread Gary Little
See bug report at 
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3162

On Mar 18, 11:34 am, Gary Little  wrote:
> Chris:
>
> After further analysis... optimized: false doesn't work reliably with
> Safari/Mac (entire markers sometimes go missing). Seems to be OK with
> every other Mac browser. Will start a new thread to discuss.
>
> Gary
>
> On Mar 18, 9:42 am, Gary Little  wrote:
>
>
>
> > Chris:
>
> > Setting optimized: false seems to have solved my problem since I was
> > already doing everything else you suggested. Thanks.
>
> > Now I wish I could set optimized: true but for that I need an official
> > way to access the internal z-indexes of the marker.
>
> > (This is part of my work on 
> > MarkerWithLabelhttp://google-maps-utility-library-v3.googlecode.com/svn/tags/markerw...
> > , by the way.)
>
> > Simon: you may want to try setting optimized: false to see if it helps
> > your problem. With Safari/Mac, I also see that the marker with the
> > higher explicitly-set zIndex appears in the background.
>
> > Gary
>
> > On Mar 17, 11:48 pm, Chris Broadfoot  wrote:
>
> > > Hi Gary,
>
> > > Because Markers are now rendered in Canvas tiles, a group of markers may
> > > exist inside one DOM element. This makes it infeasible to order your own 
> > > DOM
> > > elements with in the overlayImage pane. So, the first step is to specify
> > > optimized:false when instantiating your Markers.
>
> > > Doing so isn't a solution in itself. I take it you want to have a DOM
> > > element match or closely relate to a particular Marker's z-index. The API
> > > does not expose internal z-indexes, so the key here is to set z-indexes
> > > yourself. This allows you to deterministically order your own DOM elements
> > > amongst API Markers' DOM elements.
>
> > > When setting z-indexes yourself, you could employ a similar strategy to 
> > > the
> > > API. Setting z-index based on Mercator y-value and/or latitude is a good
> > > starting point.
>
> > > Hope that helps,
> > > Chris
>
> > > --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] Re: Events in Polygons generated loading KML file

2011-03-18 Thread bratliff
On Mar 18, 6:21 pm, "geocode...@gmail.com" 
wrote:

> The only documented events for KmlLayer are:
> click
> defaultviewport_changed
>
> You could file an enhancement 
> request:http://code.google.com/p/gmaps-api-issues/issues/list?q=apitype%3AJav...

Since KMLLayers generate image tiles, it requires a separate structure
for "hot spots".  It could be done but it would be very impractical.

> You could use a third party parser like geoxml3 (but that will have
> performance issues for complex 
> kml).http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linktoB.htm...

Another option is to switch to JSON.  KML has too many limitations.

-- 
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 and zIndex

2011-03-18 Thread Gary Little
Chris:

After further analysis... optimized: false doesn't work reliably with
Safari/Mac (entire markers sometimes go missing). Seems to be OK with
every other Mac browser. Will start a new thread to discuss.

Gary

On Mar 18, 9:42 am, Gary Little  wrote:
> Chris:
>
> Setting optimized: false seems to have solved my problem since I was
> already doing everything else you suggested. Thanks.
>
> Now I wish I could set optimized: true but for that I need an official
> way to access the internal z-indexes of the marker.
>
> (This is part of my work on 
> MarkerWithLabelhttp://google-maps-utility-library-v3.googlecode.com/svn/tags/markerw...
> , by the way.)
>
> Simon: you may want to try setting optimized: false to see if it helps
> your problem. With Safari/Mac, I also see that the marker with the
> higher explicitly-set zIndex appears in the background.
>
> Gary
>
> On Mar 17, 11:48 pm, Chris Broadfoot  wrote:
>
>
>
> > Hi Gary,
>
> > Because Markers are now rendered in Canvas tiles, a group of markers may
> > exist inside one DOM element. This makes it infeasible to order your own DOM
> > elements with in the overlayImage pane. So, the first step is to specify
> > optimized:false when instantiating your Markers.
>
> > Doing so isn't a solution in itself. I take it you want to have a DOM
> > element match or closely relate to a particular Marker's z-index. The API
> > does not expose internal z-indexes, so the key here is to set z-indexes
> > yourself. This allows you to deterministically order your own DOM elements
> > amongst API Markers' DOM elements.
>
> > When setting z-indexes yourself, you could employ a similar strategy to the
> > API. Setting z-index based on Mercator y-value and/or latitude is a good
> > starting point.
>
> > Hope that helps,
> > Chris
>
> > --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] Re: Events in Polygons generated loading KML file

2011-03-18 Thread geocode...@gmail.com
On Mar 18, 10:50 am, Iván González 
wrote:
> Hi everybody,
>
> I am reading the forum, and i see some post about these, but no
> solutions. I think that polygon that are created loading a KML archive
> only has 'click event', am i right? ... Because i trying to apply
> mouseover to the polygons generated in this 
> map:http://www.astursoluciones.com/obsa/map/
> but  dont work :(

The only documented events for KmlLayer are:
click
defaultviewport_changed

You could file an enhancement request:
http://code.google.com/p/gmaps-api-issues/issues/list?q=apitype%3AJavascript3

You could use a third party parser like geoxml3 (but that will have
performance issues for complex kml).
http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linktoB.html?filename=http://www.geocodezip.com/geoxml3_test/astursoluciones_com_obsa_con_6_kml.xml

  -- Larry

>
> Im using API JavaScript v3.
>
> Thanks very much, and sorry for me English.

-- 
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: Is it possible to let the user draw curved directions on the map?

2011-03-18 Thread Alex Genadinik
No idea where to even start there :)
Any examples or source I can browse to get an idea of how to do this?

Thanks,
Alex

-- 
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: New Release - 2011/3/17

2011-03-18 Thread bratliff
I am using Firefox.

I am unable to force the API to build CANVAS markers:

var test=new google.maps.Marker
({
map:cover,
position:new google.maps.LatLng(+40,-95),
clickable:false,
optimized:true,
zIndex:0
})

It builds markers using:

http://maps.gstatic.com/intl/en_us/mapfiles/markers/marker_sprite.png;

-- 
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: Is it possible to let the user draw curved directions on the map?

2011-03-18 Thread Diogo Outerelo da Silva
maybe you can use newton's interpolation.

On Fri, Mar 18, 2011 at 2:43 PM, geocode...@gmail.com
wrote:

> On Mar 18, 10:39 am, Alex Genadinik  wrote:
> > Thanks, that looks very curved actually.
> > I see in the example they use predefined circle formulas.  But in my case
> I
> > need users to simply enter points and the map to just be smooth.
> >
> > Is it possible to do what I need without predefining the formulas?
>
> I don't think so.  There are line smoothing algorithms, but you would
> have to find one that works for you and implement it.
>
>  -- Larry.
>
> >
> > Thanks,
> > Alex
>
> --
> 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.
>
>


-- 
Atc,
Diogo

--

-- 
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: Events in Polygons generated loading KML file

2011-03-18 Thread Chad Killingsworth
Correct. Kml features do not have mouseover events.

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] Events in Polygons generated loading KML file

2011-03-18 Thread Iván González
Hi everybody,

Iam reading the forum, and i see some post about these, but no
solutions. I think that polygon that are created loading a KML archive
only has 'click event', am i right? ... Because i trying to apply
mouseover to the polygons generated in this map: 
http://www.astursoluciones.com/obsa/map/
but  dont work :(

Im using API JavaScript v3.

Thanks very much, and sorry for me English.

-- 
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 and zIndex

2011-03-18 Thread bratliff
On Mar 18, 4:42 pm, Gary Little  wrote:
> Chris:
>
> Setting optimized: false seems to have solved my problem since I was
> already doing everything else you suggested. Thanks.
>
> Now I wish I could set optimized: true but for that I need an official
> way to access the internal z-indexes of the marker.

The zIndex of the marker is not relevant.  You care about the
style.zIndex of the parent node containing the marker CANVAS tiles.
"this.getPanes().overlayLayer" is a DIV with "style.zIndex=101".
Among its child nodes is your OverlayView plus a DIV containing the
marker CANVAS tiles.  In lieu of an actual zIndex order for each, the
order of the child nodes determines painting priority.

If "gary" is the DIV container for your OverlayView, try:

var parent=this.getPanes().overlayLayer;

parent.removeChild(gary);

parent.appendChild(gary);

To determine the physical "style.zIndex" of each of the child nodes,
try

var kids=this.getPanes().overlayLayer.childNodes;

var z=[];

for (var i=0 , j=0 ; j=kids[i] ; i++)
{
z[i]=j.style.zIndex-0;
}

You could also capture the "max" & "min" values of the "z" array.

Use an "idle" event listener to limit it to changes in map position.

-- 
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: Is it possible to let the user draw curved directions on the map?

2011-03-18 Thread geocode...@gmail.com
On Mar 18, 10:39 am, Alex Genadinik  wrote:
> Thanks, that looks very curved actually.
> I see in the example they use predefined circle formulas.  But in my case I
> need users to simply enter points and the map to just be smooth.
>
> Is it possible to do what I need without predefining the formulas?

I don't think so.  There are line smoothing algorithms, but you would
have to find one that works for you and implement it.

  -- Larry.

>
> Thanks,
> Alex

-- 
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 becoming invisible

2011-03-18 Thread suricatecan
Weird... I'm accessing from external link too and it loads ok.
I forgot something too. The behaviour only happens with IE.
I'm using IE 8.

-- 
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 becoming invisible

2011-03-18 Thread suricatecan
You are right, Larry. It's inaccessible.
I'll see what's happenning and post back here.
Sorry.

suricatecan

-- 
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 becoming invisible

2011-03-18 Thread suricatecan
Hey Larry,
Try this one: http://200.229.198.80/googlemaps/

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: Is it possible to let the user draw curved directions on the map?

2011-03-18 Thread Alex Genadinik
Thanks, that looks very curved actually.
I see in the example they use predefined circle formulas.  But in my case I 
need users to simply enter points and the map to just be smooth. 

Is it possible to do what I need without predefining the formulas?

Thanks,
Alex 

-- 
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] Geocoder consturctor failure

2011-03-18 Thread Mike Calmus
Hi. I just got a user report where in IE8 a user got the error
"'google.maps.Geocoder' is null or not an object". I haven't seen this
happen myself, but I wanted to see if anyone knew how it could occur. The
line of code on our site does the following:

  geocoder = new google.maps.Geocoder();
As I said, this isn't readily reproducible I'm just looking for ideas on
what could have occurred.

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: Is it possible to let the user draw curved directions on the map?

2011-03-18 Thread geocode...@gmail.com
On Mar 18, 9:38 am, Alex Genadinik  wrote:
> Hi,
>
> I am trying to allow the users to pick a starting place, and then draw the
> rout which they walked.  Since the rout is never straight as it would be
> with driving, it is at all possible to create curved lined using google maps
> api?  

No. But you can make a line that looks curved.

> If so, how can I go about doing that?  And are there any good examples
> of this out there?

I don't know about "good" examples, but here is one:
http://www.geocodezip.com/v3_polygon_example_donut.html

currently it has 32 points, the more points the smoother the curve and
the longer it takes to render.

  -- Larry

>
> Thanks,
> Alex

-- 
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: Slow loading markers

2011-03-18 Thread misi_
I'm working with this control: 
http://www.codeproject.com/KB/custom-controls/Google-Map-Control-Part-2.aspx
I have 15 markers representing 15 different vehicles, and 15 more
representing each vehicle's direction. Loading 15 markers on map
wasn't making me any problems, adding  markers that show vehicle's
direction did. I refresh markers' position and direction every 6 secs.

I need to make some kind of optimization, but I don't know from where
to start.

Hope the link helps. 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: google template error????

2011-03-18 Thread geocode...@gmail.com
On Mar 18, 10:16 am, hunter Willis  wrote:
> There is no error. When I am editing , dreamweaver only says "syntax
> error line 12. Code hinting is now off."

Then it is a problem with the tool and nothing to do with the Google
Maps Javascript API v3 (that is valid javascript).  Complain to the
dreamweaver folks.

  -- Larry

>
> On Friday, March 18, 2011, Rossko  wrote:
> >> in the picture, the line "var myOptions = *WHAT*"
>
> > It's javascript.
> > var myOptions = {
> >     zoom : 6
> > } ;
> > is the same as
> > var myOptions = { zoom : 6 };
>
> >> there is no ending to this line, and it is giving me errors
>
> > If we knew what errors we might be able to 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 
> > 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: Markers and zIndex

2011-03-18 Thread bratliff
On Mar 18, 4:43 am, Gary Little  wrote:
> Chris,
>
> I too have been noticing unexpected problems in z ordering with V3.4,
> not sure if it's related to this problem, but it might be.
>
> In my case, I'm attempting to set the z-index of an OverlayView object
> based on the current z-index of an associated Marker so I can order
> them properly relative to one another (usually to force the
> OverlayView on top). Sometimes, though, the OverlayView object appears
> below the marker. I think this happens sometimes because the order in
> which objects are drawn on the map varies (or perhaps is random).
>
> When the map is zoomed, for example, this will affect the z-index of
> the DIV holding the Marker (because it's set to the vertical position
> if no explicit z-index has been set for the Marker). However, the
> OverlayView will not detect the change if the OverlayView is drawn
> *before* the Marker, so the relative ordering of the two objects may
> not work out as expected. (If the Marker were drawn first, there would
> be no problem.)
>
> To solve this problem, it would be beneficial if one could listen for
> an event that is fired when a Marker is drawn or redrawn (doesn't
> exist at the moment) or if the name of the Marker draw method were
> known.
>
> Any suggestions?
>
> Gary

You might have to add an "idle" event listener.  V2 did it
automatically with the "redraw(force)" method with "force=false".  V3
requires you to do it manually.  You might be able to cycle through
the childNodes of the "overlayView" map pane.  Assign a zIndex to your
OverlayView either above or below the the others.

All markers are rendered in a single CANVAS DOM element for each
tile.  The CANVAS tiles do not overlap.  The tiles have the zIndex of
their common parent node.  All markers are painted in zIndex order to
cause colors & opacities to combine correctly.  Painting order in the
tile does not change the zIndex of the tile itself or of its parent
node.

All markers in the same parent node of the CANVAS tile will be either
above or below your OverlayView.  If neither your OverlayView nor the
parent node of the CANVAS tiles have been assigned a zIndex, the
childNode order of map pane (1) will determine apparent zIndex
ordering.  Google has to rebuild its tiles to keep pace with
dragging / panning / zooming.  If the parent node also has to be
rebuilt, it will percolate toward the bottom of the childNode chain of
map pane (1) resulting in an apparent boost to the zIndex.  You could
compensate with "removeChild()" / "appendChild()" on your own
OverlayView to map pane (1)

-- 
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] google template error????

2011-03-18 Thread hunter Willis
There is no error. When I am editing , dreamweaver only says "syntax
error line 12. Code hinting is now off."

On Friday, March 18, 2011, Rossko  wrote:
>> in the picture, the line "var myOptions = *WHAT*"
>
> It's javascript.
> var myOptions = {
>     zoom : 6
> } ;
> is the same as
> var myOptions = { zoom : 6 };
>
>> there is no ending to this line, and it is giving me errors
>
> If we knew what errors we might be able to 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.
>
>

-- 
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: google template error????

2011-03-18 Thread Rossko
> in the picture, the line "var myOptions = *WHAT*"

It's javascript.
var myOptions = {
zoom : 6
} ;
is the same as
var myOptions = { zoom : 6 };

> there is no ending to this line, and it is giving me errors

If we knew what errors we might be able to 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.



[Google Maps API v3] Re: Markers and zIndex

2011-03-18 Thread Gary Little
Chris:

Setting optimized: false seems to have solved my problem since I was
already doing everything else you suggested. Thanks.

Now I wish I could set optimized: true but for that I need an official
way to access the internal z-indexes of the marker.

(This is part of my work on MarkerWithLabel
http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/
, by the way.)


Simon: you may want to try setting optimized: false to see if it helps
your problem. With Safari/Mac, I also see that the marker with the
higher explicitly-set zIndex appears in the background.


Gary

On Mar 17, 11:48 pm, Chris Broadfoot  wrote:
> Hi Gary,
>
> Because Markers are now rendered in Canvas tiles, a group of markers may
> exist inside one DOM element. This makes it infeasible to order your own DOM
> elements with in the overlayImage pane. So, the first step is to specify
> optimized:false when instantiating your Markers.
>
> Doing so isn't a solution in itself. I take it you want to have a DOM
> element match or closely relate to a particular Marker's z-index. The API
> does not expose internal z-indexes, so the key here is to set z-indexes
> yourself. This allows you to deterministically order your own DOM elements
> amongst API Markers' DOM elements.
>
> When setting z-indexes yourself, you could employ a similar strategy to the
> API. Setting z-index based on Mercator y-value and/or latitude is a good
> starting point.
>
> Hope that helps,
> Chris
>
> --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] Is it possible to let the user draw curved directions on the map?

2011-03-18 Thread Alex Genadinik
Hi, 

I am trying to allow the users to pick a starting place, and then draw the 
rout which they walked.  Since the rout is never straight as it would be 
with driving, it is at all possible to create curved lined using google maps 
api?  If so, how can I go about doing that?  And are there any good examples 
of this out there?

Thanks,
Alex

-- 
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: google template error????

2011-03-18 Thread copilt0910
sorry.

forgot to upload picture...


-- 
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] google template error????

2011-03-18 Thread copilt0910
why does the code from the actual google maps tutorial not work???

in the picture, the line "var myOptions = *WHAT*"

there is no ending to this line, and it is giving me errors

SOMEONE HELP ME PLEASE

-- 
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: New Release - 2011/3/17

2011-03-18 Thread bratliff
On Mar 17, 7:07 am, "Chris Broadfoot (Google Employee)"
 wrote:
> Hi all,
>
> Today we pushed a new version of the API. This version brings some pretty
> nice features, as detailed in Thor's blog post 
> here:http://googlegeodevelopers.blogspot.com/2011/03/new-angle-on-world-wi...
>
> We also pushed a new version to the stable release (3.3) that fixed a
> regression with Polygons.
>
> In this release...
>
> Resolved issues:
>   * 45 Degree imagery (Issue 2412)
>   * Overview map control (Issue 1470)
>   * Support animated gifs - 'optimized' option added (Issue 3095)
>   * Marker.getVisible() returns undefined (Issue 3114)
>
> Noticeable changes:
>   * Fixed: Circles and rectangles ignore zIndex
>   * Fixed: Mouse events trigger events twice when Marker is animating
>   * Fixed: Styled maps do not use styles if map type added to registry after
> map type id set
>   * Fixed: Non-styled map types adopt the style of a Styled Map Type
>   * Markers now fire MouseEvents, not DOM events
>
> Cheers
> Chris

The support files:

http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/api-3/4/5/{common,map,overlay}.js
http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/api-3/4/5/{util,onion}.js
http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/api-3/4/5/{controls,stats}.js
http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/api-3/4/5/{marker}.js

are combined non-deterministically.  Arbitrary file groups are cache
unfriendly.  It might be beneficial to a first time user of his or her
first mapping application with an empty cache and a long latency
connection.  Everyone else with a well stocked cache suffers.

Large files cannot be cached on some mobile devices like the iPhone.
Small equivalent files could be cached.

I do not use API markers in any of my applications.  The file
"api-3/4/5/{marker}.js" is always loaded but never used.

-- 
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 position not accurate when using markermanager

2011-03-18 Thread Bjorn
Found out what the problem was.. I had set the size of the MarkerImage
to a bigger size than the actual image and therefore the marker
appeared to be at the incorrect position.


On Mar 18, 2:14 pm, "geocode...@gmail.com" 
wrote:
> On Mar 18, 3:59 am, Bjorn  wrote:
>
> > Hi,
>
> > I have a problem with the marker positions when using the
> > markermanager. When zoomed in on the map I see that the markers are
> > positioned correctly but when I zoom out the markers gets offset from
> > the actual position. Is the normal behaviour that the "accuracy" gets
> > worse when zooming out?
>
> No.
>
>
>
>
>
>
>
>
>
> > Cheers
> > Bjorn

-- 
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] Markers and zIndex

2011-03-18 Thread sgiddings
Hi Chris,

Ok, sample whipped up !
http://www.pumaproductions.fr/google/markerzindex.htm

>From further tests, it would appear related to the use of the 'draggable' 
property.

This leads me to the following question : would changing the draggable 
property dynamically (through setDraggable) affect the display ?

Simon

-- 
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 becoming invisible

2011-03-18 Thread geocode...@gmail.com


On Mar 18, 6:09 am, suricatecan  wrote:
> Hey you!
>
> It's my first post here and I hope you can help me (brasilian guy
> here, so, sorry for my english).
>
> I'm developing a website that shows the itinerary and bus stops for
> some lines in the city.
> I managed to show the map and all the itinerary, but when drawing the
> bus stops, not all of them are displayed.
> The curious is that, if I zoom in or out, a different bus stop will
> vanish and that other one that once was invisible appears.
> The behaviour is the same when I animate a bus stop too.
>
> The page can be found here:http://200.229.198.80:90/
> It's a temporary development environment.

And it is not (currently) accessible:
Oops! Google Chrome could not connect to 200.229.198.80:90

  -- Larry

>
> If you click a bus stop, it will animate. If you click in the map, the
> animation will stop.
>
> PS: The page have some css that is not directed used, but when the
> site comes out, they will be referenced in the master page.
>
> PS2: The part of the code that actually uses the api is in a separated
> script file and have a special structure to help me develop.
>
> 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: Marker position not accurate when using markermanager

2011-03-18 Thread geocode...@gmail.com
On Mar 18, 3:59 am, Bjorn  wrote:
> Hi,
>
> I have a problem with the marker positions when using the
> markermanager. When zoomed in on the map I see that the markers are
> positioned correctly but when I zoom out the markers gets offset from
> the actual position. Is the normal behaviour that the "accuracy" gets
> worse when zooming out?

No.

>
> Cheers
> Bjorn

-- 
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 becoming invisible

2011-03-18 Thread suricatecan
Hey you!

It's my first post here and I hope you can help me (brasilian guy
here, so, sorry for my english).

I'm developing a website that shows the itinerary and bus stops for
some lines in the city.
I managed to show the map and all the itinerary, but when drawing the
bus stops, not all of them are displayed.
The curious is that, if I zoom in or out, a different bus stop will
vanish and that other one that once was invisible appears.
The behaviour is the same when I animate a bus stop too.

The page can be found here: http://200.229.198.80:90/
It's a temporary development environment.

If you click a bus stop, it will animate. If you click in the map, the
animation will stop.

PS: The page have some css that is not directed used, but when the
site comes out, they will be referenced in the master page.

PS2: The part of the code that actually uses the api is in a separated
script file and have a special structure to help me develop.

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] How I published 200 panoramas using Google custom streetview

2011-03-18 Thread janmartin
Hi all,

please have a look at how I published 200 panoramas I shot myself
using Google custom streetview:

http://www.diy-streetview.org/2011/03/17/google-streetview-player-for-diy-streetviews/

An overview map has been added.

The camera I used to shoot the streetviews while walking, without even
stopping, in just 20 minutes:
http://www.diy-streetview.com

I am looking for help to implement a back-end like Mapserver.org.
Any ideas how to do this?

My code has been tested with Firefox 3.6.15 and Google Chromium
12.0.705.0 on Ubuntu 10.4 Linux.

I have been told it works with IE 8.
IE 7 seems to choke on resizing some of the div's.
Anyone to the rescue?


Thanks,
Jan Martin
janmartin AT diy-streetview DOT org

P.S.:

Google custom streetview API:
http://code.google.com/apis/maps/documentation/javascript/services.html#CustomStreetView

-- 
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] Marker position not accurate when using markermanager

2011-03-18 Thread Bjorn
Hi,

I have a problem with the marker positions when using the
markermanager. When zoomed in on the map I see that the markers are
positioned correctly but when I zoom out the markers gets offset from
the actual position. Is the normal behaviour that the "accuracy" gets
worse when zooming out?

Cheers
Bjorn

-- 
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: Slow loading markers

2011-03-18 Thread geocode...@gmail.com
On Mar 18, 6:04 am, misi_  wrote:
> It only happens in Chrome. In Mozilla it works like a charm.

Still can't guess.   Did you read Rossko's request for a link to the
patient?

  -- Larry

>
> On Mar 16, 6:51 pm, Rossko  wrote:
>
>
>
>
>
>
>
> > > Can you please give me some ideas on how to reduce the time needed for
> > >loadingthemarkerson map. I have 30markersand it requires a minute
> > > or more to load all themarkers.
>
> > Something wrong there.  I can't guess what from that 
> > information.http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e

-- 
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: Slow loading markers

2011-03-18 Thread misi_
It only happens in Chrome. In Mozilla it works like a charm.

On Mar 16, 6:51 pm, Rossko  wrote:
> > Can you please give me some ideas on how to reduce the time needed for
> >loadingthemarkerson map. I have 30markersand it requires a minute
> > or more to load all themarkers.
>
> Something wrong there.  I can't guess what from that 
> information.http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e

-- 
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] iPad/iPhone Link from website opening Maps Application

2011-03-18 Thread jams
 

I am developing a website that will show people a schedule of multiple 
places to visit, from the website they can click a link that goes to Google 
Maps and shows them the schedule plotted on a map with directions etc...

The problem is that when clicking this link from the website on an iPad the 
iPad opens up the Google Maps App rather than just opening the 
http://maps.google.co.uk/ website and the Google Maps App can’t do anything 
with the information in the URL.

An example URL would be:
http://maps.google.co.uk/maps?saddr=51.387477,-1.276940+to:51.402087,-1.266046+to:51.402087,-1.266046+to:51.365633,-0.721493&hl=en&t=h

Does anyone know how to force it to open in the browser rather than the Maps 
Application?

Thanks for any input.

J.

-- 
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] Control's dimensions for mobile version

2011-03-18 Thread Giac
Hi everybody! I created a custom control (called “Info”, it doesn't do 
anything at the moment) that looks like the Google Maps standard controls ( 
http://www.mastercomunicazionestorica.it/geo/controllip.html )  My problem 
is that, if I visualize the map in a computer's monitor my custom control 
displays with the right dimensions (the same dimensions of the Google Maps 
standard controls) but when I see the map through a mobile device (iPhone or 
Android) the dimension of the Google standard controls becomes bigger while 
my control remains of the same dimension ( 
http://www.mastercomunicazionestorica.it/geo/controls.jpg ). It's a big 
problem since I wanted create custom controls with dimensions homogeneous to 
the google standard ones, even in a mobile version of the map. Is there 
anybody who can help me solve the problem? Thanks a lot for your attention,
Giac

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

2011-03-18 Thread Alexey Onuchin
Thanks for the info Chris,

But actually it is not the same I want. This example uses tiles and it
is also strange that CustomOverlay is designed without onAdd Draw and
onRemove :)
I'd like to set Lat and Lon lines on specific geo coords (for example,
from the left to the right with 1 minute increment and from the top to
the bottom with the same increment), not using pixel coords. I almost
finished with my grid but still think how to select any cell(s) having
4 DIVs (2 horizontal and 2 vertical), coords of where I clicked (and
where I stopped selection for the second case I described before) and
zoom level.

On 17 мар, 01:25, Chris Broadfoot  wrote:
> Have you seen this? It may be a good starting 
> point:http://code.google.com/apis/maps/documentation/javascript/examples/ma...
>
> On Thu, Mar 17, 2011 at 12:24 AM, Alexey Onuchin wrote:
>
>
>
>
>
>
>
>
>
> > Hi to all,
>
> > Did someone try to write a custom grid with resizable cells based on
> > map zoom level and ability to select any cell by mouse button click?
> > I'm thinking to use custom overlay for that grid using DIVs as Lat and
> > Lon lines, but still can not find out the best algorithm for selection
> > of resulting cells (simple and lite).
> > Selection can be of 2 types - just click on cells one by one (or click
> > again to remove selection); drag mouse pointer from one corner to
> > another and select all cells inside
>
> > ---
> > Thanks in advance,
> > Alexey
>
> > --
> > 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.