Re: [Google Maps API v3] The distance between two points,a user-defined route?

2011-11-27 Thread Chris Broadfoot
I'm not sure what you're trying to achieve, could you use the
"computeLength" function in the geometry library?

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

Chris

--
http://twitter.com/broady



On Mon, Nov 28, 2011 at 1:42 PM, xinyun_0...@126.com wrote:

> Hello
>I have two markers, now i want to know the distance between this
> two points.But not the straight-line distance,the route is a user-
> defined.For example,the route is a KML file, these two points in this
> line, and now i want to know the distance between two points.Who can
> help me?
>My English is poor,Forgive me!
>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.
>
>

-- 
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] CSS for changing vertex icons in edition mode

2011-11-27 Thread Chris Broadfoot
Hi,

It's not possible to change the anchor points of editable shapes. If you'd
like this feature, please file it over on the issue tracker:
http://code.google.com/p/gmaps-api-issues

Cheers
Chris

--
http://twitter.com/broady



On Sun, Nov 27, 2011 at 8:43 PM, Silver  wrote:

> Hello folks,
> Some idea about changing the small boxes markers of drawingManager
> using CSS?
> Best regards!!!
>
> --
> 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: Google Maps V3 API & WinForm Usage

2011-11-27 Thread Chris Broadfoot
I'm not familiar with the .NET framework, but in general, we recommend web
views. Could you find a WebKit-based web view?

Neither solution is directly supported, but use of GMap.NET violates the
Terms of Service.

Using a web view may not be covered by our "supported browsers" but in
all likelihood will work, and allows you to be compliant with the Terms of
Service.

Cheers
Chris

--
http://twitter.com/broady



On Mon, Nov 28, 2011 at 6:32 PM, Mr.Pohoda  wrote:

> I suggest you to use GMap.NET. I've tried web control in my mobile
> application and not all javascript worked. I suppose it will be the
> same in desktop application. In GMap.NET there are even things like
> marker clusterer and you can use google, openstreet layers, bing or
> yahoo if you want. If you used web control, it would be pretty hard to
> control map with buttons in your application.
>
> On Nov 27, 11:48 am, engrforever  wrote:
> > Folks,
> >
> > I am interested in figuring out how I can integrate the Google Map V3 API
> > features into a custom WinForm application. I have come across a codeplex
> > project (GMap.NET), I trying to understand what are my options and
> > limitations. I know I can add a "web control" in WinForm, but will that
> > allow access to all the java script functions?
>
> --
> 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 Maps V3 API & WinForm Usage

2011-11-27 Thread Mr.Pohoda
I suggest you to use GMap.NET. I've tried web control in my mobile
application and not all javascript worked. I suppose it will be the
same in desktop application. In GMap.NET there are even things like
marker clusterer and you can use google, openstreet layers, bing or
yahoo if you want. If you used web control, it would be pretty hard to
control map with buttons in your application.

On Nov 27, 11:48 am, engrforever  wrote:
> Folks,
>
> I am interested in figuring out how I can integrate the Google Map V3 API
> features into a custom WinForm application. I have come across a codeplex
> project (GMap.NET), I trying to understand what are my options and
> limitations. I know I can add a "web control" in WinForm, but will that
> allow access to all the java script functions?

-- 
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: Example doesn't work locally - generating a kml layer at runtime

2011-11-27 Thread geocode...@gmail.com
On Nov 27, 3:52 pm, Felix Kiechle 
wrote:
> [By mistake, I posed this question first in the API v2 forum 
> athttp://groups.google.com/group/google-maps-api/browse_frm/thread/165f...]
>
> Hi,
>
> I'm trying to run the "Too Many Markers" Example by Miguel Ángel
> Vilela [1] on my server [2] but the kml layer won't work. I guess the
> problem is here [3] in the toggleKmlLayer() function.
>
> I'm writing a service which needs to set a layer of many markers at
> runtime. The easiest way would be via a kml file, but i'm using
> google app engine so I cannot generate a file, store it and reload from a
> static url. Unfortunately I haven't found something like a  parseKml(String) 
> method
> in the google maps api yet.
>
> My next idea was to let my application create a json object, give it
> to the client and access it in a similar way as shown in this example
> - but unfortunately it doesn't even work copying the files 1 to 1 to
> my server...
>
> Does anybody know why it won't work or has another idea for my
> problem (optimally via kml, but I'm losing hope that this will be possible at
> runtime).
>
> Thanks a lot
>
> Felix Kiechle
>
> [1]http://gmaps-samples-v3.googlecode.com/svn/trunk/toomanymarkers/tooma...
> [2]http://kiechle.e8u.de/linkedService/toomanymarkers.html
> [3] var kmlUrl = window.location.href.substring(
>         0, 1 + window.location.href.lastIndexOf('/')) +
> 'markers.kml';
>
> Answer of Lary:
> On Nov 26, 1:55 am, Andrew C Leach  wrote:
>
> > On 26 November 2011 03:01, Felix Kiechle  
> > wrote:
> > > Hi,
> > > I'm trying to run the "Too Many Markers" Example by Miguel Ángel
> > > Vilela [1] on my server [2] but the kml layer won't work. I guess the
> > > problem is here [3] in the toggleKmlLayer() function.
> > It's a Version 3 map, so I suggest posting to the Version 3 
> > Grouphttp://groups.google.com/group/google-maps-js-api-v3/
> > However, KmlLayer data must reside on a public server. It's in the
> > docs. I'm not convinced that you are creating a public URL to your
> > data.
>
> Or there is no file there or his server doesn't understand .kml
> files.http://kiechle.e8u.de/linkedService/markers.kml
>   -- Larry
>
> My reply:
> Hi Larry,
> thank you for your answer and sorry for asking on the wrong place.
>
> Actually, that's exactly my qestion. So in order to make this example
> work I'd have to create a kml file first and save it to
http://kiechle.e8u.de/linkedService/markers.kml?

To use KmlLayer to display it, yes.

> What's the meaning of parsing this json object then?

Parsing what json object? Are you asking about the source that is used
for the markerclusterer or marker manager examples?

>
> And that's exactly what I need to avoid. I'll be working "in the
> cloud" (on google app engine) later, so I cannot generate a static
> url to a kml file since my whole application is spread over the web.

How about using FusionTables?  That will accept kml files (and other
types) and allow the geographic content to be displayed on a map
(tiled) like KmlLayer.  There are limits (but they are fairly large).

  -- Larry

> Hence I'm searching for a possibility to generate a map with many markers
> out of a json object or a string (containing the kml information).
>
> Best wishes
>
> Felix Kiechle

-- 
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] The distance between two points,a user-defined route?

2011-11-27 Thread xinyun_0...@126.com
Hello
I have two markers, now i want to know the distance between this
two points.But not the straight-line distance,the route is a user-
defined.For example,the route is a KML file, these two points in this
line, and now i want to know the distance between two points.Who can
help me?
My English is poor,Forgive me!
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: stretch map independantly of the canvas size

2011-11-27 Thread Marcelo
You cannot do that exactly because zoom levels are discrete values.
The only way to make it fit would be to reduce or increase the size of
the canvas in multiples of 2, ie. 200x200 pixels at zoon 4 would show
the same area as 400x400 pixels at zoom 5, and so on.

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



On Nov 27, 5:15 pm, Bas van de Lustgraaf 
wrote:
> how to manage that the map is as big as the canvas (div) based on fixed
> bounds coordinates? So basically the same map appears independantly if the
> canvas is 200x200 or 600x600.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: How to add a domready event to an infoBubble

2011-11-27 Thread Chris Broadfoot
On Sat, Nov 26, 2011 at 11:40 PM, Geoff Schultz <
geoffrey.w.schu...@gmail.com> wrote:

> Rossko,
>
> I took me quite a while to decode what you were telling me.  I'm quite
> confused as to how the domReady event can fire before the infoBubble is
> opened.  Anyhow, what I finally figured out was that I needed to set the
> content AFTER I have created the listener.  Thus the code that finally
> worked was:
>
> var infoWindow = new InfoBubble({maxWidth: 1000, position: latLng,
> arrowSize: 0, maxHeight: 600});
>
> google.maps.event.addListener(infoWindow, "domready", function()
> {load_rotator();});
> infoWindow.setOptions({content: responseText});
> infoWindow.open(map);
>

Ah, yes. I suppose this is not documented (for both InfoBubble *and*
InfoWindow).

If you could modify InfoBubble to act more like InfoWindow and submit a
patch, that'd be awesome!

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] stretch map independantly of the canvas size

2011-11-27 Thread Bas van de Lustgraaf
how to manage that the map is as big as the canvas (div) based on fixed 
bounds coordinates? So basically the same map appears independantly if the 
canvas is 200x200 or 600x600.

-- 
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/-/ZYKbtFwd0f8J.
To post to this group, send email to google-maps-js-api-v3@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] stretch map to viewport size

2011-11-27 Thread Bas van de Lustgraaf
how to manage that the map is as big as the canvas (div) based on the 
bounds? So basically the same map appears independantly if the canvas is 
200x200 or 600x600.


-- 
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/-/1p0VoVOH4QkJ.
To post to this group, send email to google-maps-js-api-v3@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: To add a search bar

2011-11-27 Thread Masashi.K
It's easy like this:
--
var input = document.getElementById('search');
mapCanvas.controls[google.maps.ControlPosition.TOP_LEFT].push(input);

var options = {
  types: ['establishment']
};

var autocomplete = new google.maps.places.Autocomplete(input,
options);
google.maps.event.addListener(autocomplete, "place_changed", function()
{
  var place = autocomplete.getPlace();
   mapCanvas.panTo(place.geometry.location);
});

--

On 11月24日, 午前10:19, "xinyun_0...@126.com"  wrote:
> Hi Masashi.K
> We know we can make a custom control on the google maps,So how we can
> put the search bar in the custom control?Do you have any idea?
> On 11月23日, 上午9时59分, "Masashi.K"  wrote:
>
>
>
>
>
>
>
> > Hi.
>
> > How about this 
> > example?http://code.google.com/apis/maps/documentation/javascript/examples/pl...
>
> >http://code.google.com/apis/maps/documentation/javascript/places.html...
>
> > On Nov 22, 4:18 pm, Bready  wrote:
>
> > > I wonder if i can add a search bar on my own google map application.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Example doesn't work locally - generating a kml layer at runtime

2011-11-27 Thread Felix Kiechle

[By mistake, I posed this question first in the API v2 forum at
http://groups.google.com/group/google-maps-api/browse_frm/thread/165fe59d079624f5/f200780e71e2cdcf#f200780e71e2cdcf]


Hi,

I'm trying to run the "Too Many Markers" Example by Miguel Ángel
Vilela [1] on my server [2] but the kml layer won't work. I guess the
problem is here [3] in the toggleKmlLayer() function.

I'm writing a service which needs to set a layer of many markers at
runtime. The easiest way would be via a kml file, but i'm using
google
app engine so I cannot generate a file, store it and reload from a
static url. Unfortunately I haven't found something like a
parseKml(String) method in the google maps api yet.

My next idea was to let my application create a json object, give it
to the client and access it in a similar way as shown in this example
- but unfortunately it doesn't even work copying the files 1 to 1 to
my server...

Does anybody know why it won't work or has another idea for my
problem
(optimally via kml, but I'm losing hope that this will be possible at
runtime).

Thanks a lot

Felix Kiechle

[1] http://gmaps-samples-v3.googlecode.com/svn/trunk/toomanymarkers/tooma...
[2] http://kiechle.e8u.de/linkedService/toomanymarkers.html
[3] var kmlUrl = window.location.href.substring(
0, 1 + window.location.href.lastIndexOf('/')) +
'markers.kml';



Answer of Lary:
On Nov 26, 1:55 am, Andrew C Leach  wrote:
> On 26 November 2011 03:01, Felix Kiechle  wrote:
> > Hi,
> > I'm trying to run the "Too Many Markers" Example by Miguel Ángel
> > Vilela [1] on my server [2] but the kml layer won't work. I guess the
> > problem is here [3] in the toggleKmlLayer() function.
> It's a Version 3 map, so I suggest posting to the Version 3 
> Grouphttp://groups.google.com/group/google-maps-js-api-v3/
> However, KmlLayer data must reside on a public server. It's in the
> docs. I'm not convinced that you are creating a public URL to your
> data.


Or there is no file there or his server doesn't understand .kml
files.
http://kiechle.e8u.de/linkedService/markers.kml
  -- Larry


My reply:
Hi Larry,
thank you for your answer and sorry for asking on the wrong place.

Actually, that's exactly my qestion. So in order to make this example
work I'd have to create a kml file first and save it to
http://kiechle.e8u.de/linkedService/markers.kml? What's the meaning
of
parsing this json object then?

And that's exactly what I need to avoid. I'll be working "in the
cloud" (on google app engine) later, so I cannot generate a static
url
to a kml file since my whole application is spread over the web.
Hence
I'm searching for a possibility to generate a map with many markers
out of a json object or a string (containing the kml information).

Best wishes

Felix Kiechle

-- 
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 Maps V3 API & WinForm Usage

2011-11-27 Thread engrforever
Folks,

I am interested in figuring out how I can integrate the Google Map V3 API 
features into a custom WinForm application. I have come across a codeplex 
project (GMap.NET), I trying to understand what are my options and 
limitations. I know I can add a "web control" in WinForm, but will that 
allow access to all the java script functions?


-- 
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/-/iO8OOExz9VsJ.
To post to this group, send email to google-maps-js-api-v3@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: Bounding box behavior

2011-11-27 Thread Nick
Thank you for your reply!

Did you paste the code before zooming? When I paste it to the console and 
zoom out afterwards I can see it. Just tried it using Safari, I have not 
tested it in another browser.

Well, what I am trying to achieve is the following: 

I want to know whether a marker is visible or not. Hence I wanted to check 
if the bounds of the map contain the position of this marker. This does not 
work when the bounding box of the map behaves like that, because a marker 
that is in between these rectangles will not be within their bounds.

Is there a better way to check the visibility?

-- 
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/-/mUe4FCCf6qMJ.
To post to this group, send email to google-maps-js-api-v3@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] Geolocation Issues

2011-11-27 Thread BusyBee
Hello everyone,
This is my first time posting on here. I was working on this program where 
the website is query the mobile phone and then displaying it on a map. But 
for some reason it works on some Driods, and an unlocked Iphone 4. I tried 
on verizon's Iphone 4S and Verizon Iphone 4G and it doesnt work. Does 
anyone know what is happening here? 

http://www.traffic-star.com/Web_Development/check.html

-- 
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/-/L709rxsOae8J.
To post to this group, send email to google-maps-js-api-v3@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 add a domready event to an infoBubble

2011-11-27 Thread Geoff Schultz
I tried your suggestion of doing a setTimeout(load_rotator(),0) to execute 
the load_rotator() function, but that didn't resolve the issue.  I had to 
bump the timer up to 1500 ms before it worked, but that seems highly 
system/browser specific.  I think that I'll just figure out how to make a 
infoBox fit my needs.

-- Geoff

-- 
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/-/f5hED-Oao0UJ.
To post to this group, send email to google-maps-js-api-v3@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 add a domready event to an infoBubble

2011-11-27 Thread Rossko
> So, I'll implement your suggestion.  However, how does one add a task to
> the browser queue?

setTimeout ('doMyFunction(blah)', 0);

Looks like a zero delay, but would should happen is that a new task is
appended to the browser's work queue after a zero delay.  I believe/
hope that should then be run after the browser's finished building
previously setup DOM elements.

I think you are right that infobubble could be improved, the author
Luke may read this ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: How to add a domready event to an infoBubble

2011-11-27 Thread Geoff Schultz
I changed the click event to execute the load_rotator() code and you were 
correct!  (I like talking to smart people :-)  To me this simply indicates 
that the domready event code is broken for the infoBubble.  This should be 
a deterministic event.  However, it clearly isn't.

So, I'll implement your suggestion.  However, how does one add a task to 
the browser queue?  Sorry!

-- Geoff

-- 
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/-/aUUlQ9P3dfgJ.
To post to this group, send email to google-maps-js-api-v3@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 add a domready event to an infoBubble

2011-11-27 Thread Rossko
> To make the example behave more like the development version, I added a
> "click" event handler to the map which displays the infoBubble and it
> exhibits the same behavior despite the map being fully drawn.

Yep, infobubble's 'domready' event is still optimistic, it fires
before the browser has had time to render the DOM, so the DOM elements
are still not available to your load_rotator() yet.

The setTimeout suggestion stands.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: How to add a domready event to an infoBubble

2011-11-27 Thread Geoff Schultz
This example is a massively stripped down version of the development code 
just to show the issue.  This occurs in the development version even when 
the map is fully drawn.

To make the example behave more like the development version, I added a 
"click" event handler to the map which displays the infoBubble and it 
exhibits the same behavior despite the map being fully drawn.

-- Geoff

-- 
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/-/0I-KvBVXD9kJ.
To post to this group, send email to google-maps-js-api-v3@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 add a domready event to an infoBubble

2011-11-27 Thread Rossko
> Since you seem to be very knowledgeable

Nope, I just set breakpoints in Firebug to see the sequence

> http://www.geoffschultz.org/Test/infobubble_2.htmlutilizes an infoBubble

I think the infobubble 'domready' event is optimistic ; infobubble has
issued the commands to the browser to build the dom elements, but at
the time the browser is busy building map stuff and hasn't got around
to it by the time the infobubble code fires 'domready' in inline code.
In Firefox, there isn't even a map in the DOM let alone an infobubble
when your load_rotator() is called.

The standard infowindow runs asynchronously, and so gets queued behind
all the other map workings before its 'domready' is called.

I believe there is a trick you can do with javascript setTimeout to
put a task on the back of the browsers queue, use setTimeout to call
your load_rotator() with a zero timeout.

If this is the case, it looks like a worthwhile enhancement to the
infobubble library?

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

2011-11-27 Thread geocode...@gmail.com
On Nov 26, 6:32 pm, "geocode...@gmail.com" 
wrote:
> On Nov 26, 8:15 pm, Marcelo  wrote:
>
> > On Nov 26, 6:00 pm, john  wrote:
>
> > > I read the doc. For those markers in the same group. I want keep the
> > > default behavior. That's my trouble comes.
>
> > > I could assign zIndex for each marker, but what is the proper value?
>
> > "proper" value? If you mean what is the default value, I don't know,
> > but you can try using marker.getZIndex() to find out.
>
> Not sure if it still works this way but:
>
> http://groups.google.com/group/google-maps-js-api-v3/browse_frm/threa...
>
> http://groups.google.com/group/google-maps-js-api-v3/browse_frm/threa...
>
> According to the posts above, marker.getZIndex only returns the value
> that you have previously set with marker.setZIndex

You might want to consider voting for this enhancement request:

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

   -- Larry



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



[Google Maps API v3] Re: MarkerManager

2011-11-27 Thread geocode...@gmail.com
On Nov 27, 3:34 am, AF  wrote:
> I have discovered/fixed the problem, it was within the stock google
> markermanager code.

Perhaps you could post the issue and its resolution on the relevant
issues list:

http://code.google.com/p/google-maps-utility-library-v3/issues/list

(so it gets fixed)

  -- Larry

> Its a shame that the people who felt the need to (
> unnecessarily ) reply to this post with guff have been have been such a
> distraction from solving the problem, still you live and learn, I wont be
> using the forum again to post problems or more importantly solutions. Bye
> bye.
>
> PS: If you feel the need to reply to a question without having the answer
> in the future take a deep breath, have a read from the link below, and
> think am I being constructive?
>
> *http://catb.org/~esr/faqs/smart-questions.html#not_losing*

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: How to add a domready event to an infoBubble

2011-11-27 Thread Geoff Schultz
Rossko,

Thanks again for your insights!  Since you seem to be very knowledgeable 
about this, perhaps you can help me with one more problem.

Basically I'm trying to display some weather charts.  These charts come 
from a variety of sources. I am trying to display them within a infoWindow 
of some type.  I've tried infoWindow, infoBox and infoBubble.  There seem 
to be issues with all of them, but the infoBubble seems to overcome most of 
my issues.  For charts that have sequences which can be animated, I am 
using a javascript that rotates the images.  This works just fine when I 
utilize infoWindow or infoBox, but I get a black screen when I utilize 
infoBubble.

http://www.geoffschultz.org/Test/infobubble_2.html utilizes an infoBubble
http://www.geoffschultz.org/Test/infobubble_3.html utilizes an infoWindow 
and works properly.

The only difference is the type of infoWindow which is created.  Any help 
with this would be greatly appreciated as I'd really like to use an 
infoBubble, but this is a major stumbling block.

-- Geoff

-- 
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/-/92PdMVJclYsJ.
To post to this group, send email to google-maps-js-api-v3@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: MarkerManager

2011-11-27 Thread AF
Wow we really have gone off topic now, we are no longer talking about an 
api, or even computers in general, we are now talking about apples, 
m, apples.

-- 
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/-/5nN_A2zSBKMJ.
To post to this group, send email to google-maps-js-api-v3@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: MarkerManager

2011-11-27 Thread AF
Thanks for the comment chris, the problem is solved now, a sensible reply 
is always welcome. Cheers.
 

-- 
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/-/3cPF6pGwLfEJ.
To post to this group, send email to google-maps-js-api-v3@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: MarkerManager

2011-11-27 Thread AF
Not specific to my original problem ( if I can remember that far back it 
seems so long ago now ), anyway problem is solved. Tallyho.

-- 
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/-/T5fxLBzSnksJ.
To post to this group, send email to google-maps-js-api-v3@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: MarkerManager

2011-11-27 Thread AF
As said in an earlier post a link is/was not available but I thought the 
desription(s) should have been enough to get some cunstructive comments 
going backwards and forwards, still I have solved the problem ( see reply 
to andrews post ), as far as clairvoyancy goes I have a sense you are going 
to make it big in the music industry, adios amigo.

-- 
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/-/-qIx5w00_sAJ.
To post to this group, send email to google-maps-js-api-v3@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: MarkerManager

2011-11-27 Thread AF
I have discovered/fixed the problem, it was within the stock google 
markermanager code. Its a shame that the people who felt the need to ( 
unnecessarily ) reply to this post with guff have been have been such a 
distraction from solving the problem, still you live and learn, I wont be 
using the forum again to post problems or more importantly solutions. Bye 
bye.
 
PS: If you feel the need to reply to a question without having the answer 
in the future take a deep breath, have a read from the link below, and 
think am I being constructive? 
 
*http://catb.org/~esr/faqs/smart-questions.html#not_losing*

-- 
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/-/z2yYetUnVPUJ.
To post to this group, send email to google-maps-js-api-v3@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: Bounding box behavior

2011-11-27 Thread Rossko
> Depending on the zoom level these bounds behave weird - when I zoom in it
> works as expected - the bounds stretch from the lower left corner of the
> pane to the upper right corner. As soon as I zoom out it get weirds - the
> bounding box splits up. You can reproduce this with the google examples and
> the attached code.

I tried zooming out on the example you gave, but no box was drawn.

I'm guessing the question may be recast as "I'm having trouble drawing
rectangler bigger than a hemisphere"?

See
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/2b18cc2d32085ed8/cea7f4e3ccc0285a
for an example

-- 
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] CSS for changing vertex icons in edition mode

2011-11-27 Thread Silver
Hello folks,
Some idea about changing the small boxes markers of drawingManager
using CSS?
Best regards!!!

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