Re: [Google Maps API v3] Re: GMapsV3 - lots of MarkerImages slow down everything

2011-10-13 Thread Ben Appleton
No, rather the marker scaling triggers the slower DOM markers. Android brevity On Oct 13, 2011 9:45 PM, "Martin™" wrote: > Hi. > > Are you implying that canvas markers will only be used if a > MarkerImage is constructed with a string URL only? > And that using the 'full' MarkerImage constructor

[Google Maps API v3] Re: GMapsV3 - lots of MarkerImages slow down everything

2011-10-13 Thread Martin™
Hi. Are you implying that canvas markers will only be used if a MarkerImage is constructed with a string URL only? And that using the 'full' MarkerImage constructor with all properties set will cause non-optimised markers? Or could the scaled size be passed as null to acheive optimised canvas mar

[Google Maps API v3] Re: Google map version

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 2:46 am, Speedy wrote: > Hello, > > Could yu please tell me how do I know which google map version I am > using. Did you see the stick post at the top of the group: (the one that says "READ THIS FIRST: Posting Guidelines" http://groups.google.com/group/google-maps-js-api-v3/browse_frm

[Google Maps API v3] Re: how to close InfoWindow when using FusionTableMouseEvent

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 7:50 pm, "geocode...@gmail.com" wrote: > On Oct 13, 6:58 pm, Sandeep wrote: > > > I have: > > 1) google.maps.event.addListener(layer, 'click', function(event) { > > addInfo(event);}); > > > and 2) inside addInfo(event) I do > > event.infoWindowHtml > > > So where do I close it? How? >

[Google Maps API v3] Re: how to close InfoWindow when using FusionTableMouseEvent

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 6:58 pm, Sandeep wrote: > I have: > 1) google.maps.event.addListener(layer, 'click', function(event) { > addInfo(event);}); > > and 2) inside addInfo(event) I do > event.infoWindowHtml > > So where do I close it? How? Post a link to your map that shows the problem please. There is not

Re: [Google Maps API v3] Re: Custom marker for Direction API

2011-10-13 Thread Stephan Bardubitzki
You are right Larry! Thanks, much appreciated. Stephan On Thu, Oct 13, 2011 at 6:28 PM, geocode...@gmail.com wrote: > On Oct 13, 5:02 pm, Stephan Bardubitzki wrote: > > Just deployed. > > > > http://yukonlive.ca/mobile-apps/ywp/gethere.html > > Looks to me like your "map" variable isn't defined

[Google Maps API v3] Re: how to close InfoWindow when using FusionTableMouseEvent

2011-10-13 Thread Sandeep
I have: 1) google.maps.event.addListener(layer, 'click', function(event) { addInfo(event); }); and 2) inside addInfo(event) I do event.infoWindowHtml So where do I close it? How? Can you show me some sample code please? Thanks, Sandeep -- You received this message because you are subscribed to

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 6:39 pm, steve wrote: > now the locating school district portion works, except the zoom level > seems not right. It is zooming to the bounds returned by the geocode result. If you want it to zoom to the results of the query, you have to put that code in the openInfoWindowOnMarker call

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread steve
now the locating school district portion works, except the zoom level seems not right. But what was wrong with the code below? layer.setQuery("SELECT geometry FROM "+FusionTableID+" WHERE ST_INTERSECTS(geometry,CIRCLE(LATLNG"+results[0].geometry.location+", 1))"); The multiple poly

[Google Maps API v3] Re: how to close InfoWindow when using FusionTableMouseEvent

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 5:32 pm, Sandeep wrote: > I am using fusion table and then FusionTableMouseEvent to set the > InfoWindowHtml. How do I close this infowindow when user clicks outside of > the infowindow? I usually add a listener to the map and close the infowindow in that listener. -- Larry > > Tha

[Google Maps API v3] Re: Custom marker for Direction API

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 5:02 pm, Stephan Bardubitzki wrote: > Just deployed. > > http://yukonlive.ca/mobile-apps/ywp/gethere.html Looks to me like your "map" variable isn't defined when you are trying to add the markers to it. -- Larry > > This is meant to run on a smart phone, but will demonstrate my iss

[Google Maps API v3] how to close InfoWindow when using FusionTableMouseEvent

2011-10-13 Thread Sandeep
I am using fusion table and then FusionTableMouseEvent to set the InfoWindowHtml. How do I close this infowindow when user clicks outside of the infowindow? Thanks, Sandeep -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To v

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 5:55 pm, "geocode...@gmail.com" wrote: > On Oct 13, 5:26 pm, steve wrote: > > > Sure. I made it exportable now. Please let me know once you exported > > it. I do not want to distribute it widely. > > OK, thank you, I have exported it and will protect my version against > export also. >

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 5:26 pm, steve wrote: > Sure. I made it exportable now. Please let me know once you exported > it. I do not want to distribute it widely. OK, thank you, I have exported it and will protect my version against export also. > > Right now it is only a name of the school district. If you s

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread steve
Sure. I made it exportable now. Please let me know once you exported it. I do not want to distribute it widely. Right now it is only a name of the school district. If you see the link on the same page, other informations are in those links. I may integrate more information together later. Also c

[Google Maps API v3] Re: map.getBounds().getCenter() vs map.getCenter() voodoo

2011-10-13 Thread RhubarbsElleven
Sorry, attachment didn't attach. See: https://picasaweb.google.com/lh/photo/x1V5eVqftrENXCHdmPUxsgCFB41-4pdXXH8TUBynpIE?feat=directlink -- 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

Re: [Google Maps API v3] Re: Custom marker for Direction API

2011-10-13 Thread Stephan Bardubitzki
Just deployed. http://yukonlive.ca/mobile-apps/ywp/gethere.html This is meant to run on a smart phone, but will demonstrate my issue on a desktop browser too. Thanks, Stephan On Thu, Oct 13, 2011 at 4:45 PM, geocode...@gmail.com wrote: > On Oct 13, 4:43 pm, bardu wrote: > > Hi, > > > > I hav

[Google Maps API v3] map.getBounds().getCenter() vs map.getCenter() voodoo

2011-10-13 Thread RhubarbsElleven
Hi There, I've been having a bit of fun panning the map around via code and ran into the following oddness: map.getBounds().getCenter().equals(map.getCenter()) == false ! I threw some markers onto the map positioned at map.getBounds().getCenter() and map.getCenter() and they are quite differe

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 4:43 pm, "geocode...@gmail.com" wrote: > On Oct 13, 4:41 pm, "geocode...@gmail.com" > wrote: > > > On Oct 13, 4:23 pm, steve wrote: > > > > Yes. That is exactly what I wanted. > > > > I see you commented following lines out. > > >               // layer.setQuery("SELECT geometry FROM

[Google Maps API v3] Re: Custom marker for Direction API

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 4:43 pm, bardu wrote: > Hi, > > I have set suppressMarkers and suppressInfoWIndow to true to not display the > default markers and infoWindow of a route. Then I have added my custom > markers and infoWindows, as usual, to the map as you can see in the code > below. However, no markers s

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 4:41 pm, "geocode...@gmail.com" wrote: > On Oct 13, 4:23 pm, steve wrote: > > > Yes. That is exactly what I wanted. > > > I see you commented following lines out. > >               // layer.setQuery("SELECT geometry FROM "+tableid+" > > WHERE > > ST_INTERSECTS(geometry,CIRCLE(LATLNG"+r

[Google Maps API v3] Custom marker for Direction API

2011-10-13 Thread bardu
Hi, I have set suppressMarkers and suppressInfoWIndow to true to not display the default markers and infoWindow of a route. Then I have added my custom markers and infoWindows, as usual, to the map as you can see in the code below. However, no markers show up on the map. What do I miss? Thank

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 4:23 pm, steve wrote: > Yes. That is exactly what I wanted. > > I see you commented following lines out. >               // layer.setQuery("SELECT geometry FROM "+tableid+" > WHERE > ST_INTERSECTS(geometry,CIRCLE(LATLNG"+results[0].geometry.location+", > 1))"); > > Can that work? Work

Re: [Google Maps API v3] GMapsV3 - lots of MarkerImages slow down everything

2011-10-13 Thread Ben Appleton
Your code triggers the older DOM markers as it specifies a scale: icon: new google.maps.MarkerImage( ' http://viewranger.com/buddybeacon/v2/images/markers/marker_FF.png', new google.maps.Size(15,20), // original size new google.maps.Point(0,0), // origin new

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread steve
Larry, You are always one step ahead of me. I will try to figure how to make it work:) Steve -- 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 unsub

[Google Maps API v3] Re: Determining and Using new marker positions

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 3:36 pm, Glen Bass wrote: > Hello: > > I am attempting to create a worksheet that the user will expand a box > to contain a geographic area. I found this sample code and am unable > to determine the two sets of coordinates for each of my markers for > use in PHP. What have you tried to

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 4:14 pm, "geocode...@gmail.com" wrote: > On Oct 13, 3:59 pm, steve wrote: > > > Yeah. Something similar to that. Except you really don't know how far > > the distance is from the school district to the address.  That is why > > I want to choose three nearest geometry and verify to see

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread steve
Yes. That is exactly what I wanted. I see you commented following lines out. // layer.setQuery("SELECT geometry FROM "+tableid+" WHERE ST_INTERSECTS(geometry,CIRCLE(LATLNG"+results[0].geometry.location+", 1))"); Can that work? Thanks again, Steve -- You received this message bec

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 3:59 pm, steve wrote: > Yeah. Something similar to that. Except you really don't know how far > the distance is from the school district to the address.  That is why > I want to choose three nearest geometry and verify to see if the > address is inside one of the selected geometry(polyg

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 3:59 pm, steve wrote: > Yeah. Something similar to that. Except you really don't know how far > the distance is from the school district to the address.  That is why > I want to choose three nearest geometry and verify to see if the > address is inside one of the selected geometry(polyg

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread steve
Yeah. Something similar to that. Except you really don't know how far the distance is from the school district to the address. That is why I want to choose three nearest geometry and verify to see if the address is inside one of the selected geometry(polygon). Can I use "select geometry from tabl

[Google Maps API v3] Determining and Using new marker positions

2011-10-13 Thread Glen Bass
Hello: I am attempting to create a worksheet that the user will expand a box to contain a geographic area. I found this sample code and am unable to determine the two sets of coordinates for each of my markers for use in PHP. The link for the testpage is below. Any help is appreciated http://www

[Google Maps API v3] bus/transportation icon/info not working with ground overlay

2011-10-13 Thread FHCRC
Hi! I've managed (not a javascripter but do know actionscript) to create a map with a ground overlay (3 actually!) + marker + infowindow. So, those things are all appearing and working as I had hoped for. Not working are the bus and trolley icons. So, am unable to click and get info about bus/tro

[Google Maps API v3] Correct address format to get the most accurate results from google GeoCoding API

2011-10-13 Thread Vishal Sharma
Hi, Is there any standard format to supply the address string to Google GeoCoding API to get the most accurate results on map. Thanks, Vishal -- 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

[Google Maps API v3] GMapsV3 - lots of MarkerImages slow down everything

2011-10-13 Thread Kristóf Kótai
Hi there, I know this issue has been posted probably a couple of times, and the answer was always that we should use the clustering lib to avoid putting too many MarkerImages on the map. But my question is something else: If I put 400 Markers (using the default, Google's marker image as an icon

[Google Maps API v3] infowindow behavior...

2011-10-13 Thread felixweb
Hello, i'm trying to build a map for my website and i have a behavior i am not able to solve... I don't know if this is due to my limited knowledge of javascript or to my limited knowledge of Gmaps but... http://www.felixweb.it/italia2011f.html here is the map. The code should be downloadable.

[Google Maps API v3] Add EventListner to marker, which are plotted by KML

2011-10-13 Thread Chintan Shah
Can we add EventListner to the Marker, which are plotted by the kml ? -- 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/-/fRWuqAw4XDIJ

[Google Maps API v3] Re: Geolocation shows nothing if user closes prompt box without allowing or denying

2011-10-13 Thread Vivek Shingala
thanks yaar. -- 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/-/I4ybl-ASDRYJ. To post to this group, send email to google-maps-js-ap

[Google Maps API v3] Google map version

2011-10-13 Thread Speedy
Hello, Could yu please tell me how do I know which google map version I am using. Probably then I can post the issue to the right group. Thanks -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the

[Google Maps API v3] Google Map Search

2011-10-13 Thread Speedy
Hi, I'm using Google's Geocoder to find lat lng coordinates for a given address. address variable is taken from an input field. Now my application requirement is I must restrict the search in locations UK, UAE, Oman, Ireland, and Egypt. To achieve that goal first I was trying to control th

[Google Maps API v3] Re: How-to Save Polygon Overlays to PNG or JPG format

2011-10-13 Thread Berry Ratliff
On Oct 13, 8:30 pm, 7heroes wrote: > Hi Berry, > > Are you the author of the demo that Chris sent me? if yes, can you tell me > where did you find the offset that equal 268435456? can it be use anywhere > on Earth or just on the area that on your map? > > Thanks, > > Sam. It is (1 << 28) which

[Google Maps API v3] Re: How-to Save Polygon Overlays to PNG or JPG format

2011-10-13 Thread 7heroes
Hi Berry, Are you the author of the demo that Chris sent me? if yes, can you tell me where did you find the offset that equal 268435456? can it be use anywhere on Earth or just on the area that on your map? Thanks, Sam. -- You received this message because you are subscribed to the Google Gr

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 11:33 am, steve wrote: > Larry, Thanks a lot for all the information. zoom2query is actually my > next step to find out and you already gave me the answer. > > Some polygons may have issues since I used some other software to > convert census raw data to excel. I will check that out. >

[Google Maps API v3] Re: on change function not working

2011-10-13 Thread steve
Larry, Thanks a lot for all the information. zoom2query is actually my next step to find out and you already gave me the answer. Some polygons may have issues since I used some other software to convert census raw data to excel. I will check that out. Right now you can select a school district an

[Google Maps API v3] Re: charges for using v3 map on website

2011-10-13 Thread Pil
It's a shame. Initially they say: Hey, embed our maps, it's all free and easy to use! And after a few years when thousands and thousands of these maps have been ambedded, they say: Hey, what about charges, we want to see money if the maps are really used. On Oct 13, 7:29 pm, "geocode...@gmail.

[Google Maps API v3] Re: charges for using v3 map on website

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 9:42 am, BruceB wrote: > From code.google.com/apis/maps: > > Businesses that charge fees for access, track assets or *build internal > applications* must use Google Maps API > Premier, > which provides enhanced features, technica

[Google Maps API v3] Re: How-to Save Polygon Overlays to PNG or JPG format

2011-10-13 Thread Berry Ratliff
On Oct 13, 3:19 pm, 7heroes wrote: > Hi Chris, > > I saved the array of latlngs of the polygon as you suggest for later > rendering which work really cool, but I would like to save them as PNG as > well because I need to edit the polygon (represented a building) further > such as adding walls etc

[Google Maps API v3] Re: charges for using v3 map on website

2011-10-13 Thread BruceB
>From code.google.com/apis/maps: Businesses that charge fees for access, track assets or *build internal applications* must use Google Maps API Premier, which provides enhanced features, technical support and a service-level agreement.

[Google Maps API v3] charges for using v3 map on website

2011-10-13 Thread rmcguire
Are there any charges to using a google map within a company website? -- 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, s

Re: [Google Maps API v3] Re: CSS font and line-height?

2011-10-13 Thread Bob Buxton
I do use the InfoWindow class with the content in a DOM div and it works most of the time: evntObj.infowindow = new google.maps.InfoWindow({ content: document.getElementById('content'+ix) }); Trying to fi

Re: [Google Maps API v3] How-to Save Polygon Overlays to PNG or JPG format

2011-10-13 Thread 7heroes
Hi Chris, I saved the array of latlngs of the polygon as you suggest for later rendering which work really cool, but I would like to save them as PNG as well because I need to edit the polygon (represented a building) further such as adding walls etc... in Paint or I will write other app to ad

[Google Maps API v3] Re: Reducing number of points in Directions Service Polyline?

2011-10-13 Thread Berry Ratliff
I have added markers along the path plus some other improvements. -- 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

[Google Maps API v3] Re: CSS font and line-height?

2011-10-13 Thread Joseph Elfelt
@MymsMan, Did you have a chance to try google.maps.InfoWindow class? Did that not work as you wanted in IE7? -- 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@googlegrou

[Google Maps API v3] Re: CSS font and line-height?

2011-10-13 Thread MymsMan
I tried your sample, then copied the text a couple of times and the text overflowed the size of the infowindow (FF 7.0.1) :-( I'm still looking for the holy grail of a simple technique that copes with arbitrary sized content on all browsers but only uses scroll bars when absolutely necessary.

[Google Maps API v3] Re: Reducing number of points in Directions Service Polyline?

2011-10-13 Thread Berry Ratliff
On Oct 13, 4:36 am, Chris Broadfoot wrote: > Nice work, Berry. > > The browser should be able to composite the images when printing (i.e. > canvas over another image, placed with CSS), so you shouldn't *need* to draw > the static map onto the canvas element. > > Also, for printing, I'd recommend u

[Google Maps API v3] Re: Plot polygon around a center point

2011-10-13 Thread Rossko
It's a normal polygon, it won't "look the same" as you zoom in and out? There are well-known algorithms to get lat/long at distance and bearing from a given lat/long, but those are subject to projection visual "distortion" -- You received this message because you are subscribed to the Google Gro

[Google Maps API v3] Re: Plot polygon around a center point

2011-10-13 Thread shah
Ok I have it working. Following code gives me the same box/square/ polygon at any zoom levels: Having a single center point, I first convert that point to world coordinate, then convert to pixel coordinate and then simple math to create a square by adding/subtracting pixels to create 4 points nor

[Google Maps API v3] Re: CSS font and line-height?

2011-10-13 Thread THE_AI
Ok, I think that I found a solution (workaround): http://jsfiddle.net/compojoom/4NUnM/21/ So, obviously the map calculates the height of the text wrong. I thought that I will calculate the height myself and give it to the infowindow. SO, once I have my text node I insert it in the dom (make sure

[Google Maps API v3] Re: Date Query Slider to Filter Drop Pins

2011-10-13 Thread Martin™
Have you seen Timemap? http://code.google.com/p/timemap/ Martin. On Oct 12, 3:47 pm, antony smith wrote: > Oh sages of the Maps API :) I'm hoping for a few pointers here please. > > I've implemented a map using a similar technique to what is shown in > the tutorial below: > > http://code.googl

[Google Maps API v3] DirectionsService not working on street view

2011-10-13 Thread Gianpiero Venditti
Hello, i'm using directions service in an embed google map V3 on firefox. It works perfectly in the classical view of the map, however if i switch to street view i don't manage to see the directions visualized. How can i achieve the visualization of a direction path on street view? Thanks in a

[Google Maps API v3] Re: Plot polygon around a center point

2011-10-13 Thread shah
Thanks Ross. But I need a polygon , as once the polygon is plotted which is done at the click of a button, user can edit the shape of the polygon. So it has to be a polygon overlay. On Oct 12, 5:45 pm, Rossko wrote: > > can I draw a square in the form of polygon which looks same at > > different