[Google Maps API v3] Re: Inconsistency of map scale

2010-12-14 Thread geocode...@gmail.com
On Dec 14, 11:29 pm, Rendy wrote: > I know about the projection but why should it affect the scale? http://www.nationalatlas.gov/articles/mapping/a_latlong.html#four A degree of longitude varies in size. At the equator, it is approximately 69 miles, the same size as a degree of latitude. The siz

[Google Maps API v3] Re: Inconsistency of map scale

2010-12-14 Thread Rendy
I know about the projection but why should it affect the scale? This inconsistency is making it difficult for anyone to create any ground level floor plan and handling of precise localization. I do feel it is a bug that everyone have taken for granted. Tell me what you think? -- You received thi

[Google Maps API v3] Re: Getting a transparent road layer

2010-12-14 Thread pi5701
try this http://www.mario-baldauf.org/test/roads_v3.html -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to

[Google Maps API v3] Re: How to make right menu(of maps.google.com) using google maps api v3?

2010-12-14 Thread pi5701
i can see the contextmenu in IE8, firefox3.6, chrome8 and opera10 without touching any of the browsers javascriptsettings. -- 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.

[Google Maps API v3] Room finder

2010-12-14 Thread M Zubayer
Hello, Can someone please point me to links that will help me achieve this http://www.cnc.bc.ca/tools/roomfinder/ 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

[Google Maps API v3] Re: How to use encoded polylines returned by the Google Maps Web Service

2010-12-14 Thread geocode...@gmail.com
On Dec 14, 8:24 pm, Christian Zambrano wrote: > The response of a request for direction to the Google Maps Web Service > includes encoded polylines in the element overview_polyline. I would like to > display these polylines on a Javascript google map V3 but there doesn't seem > to be a way. Am I m

[Google Maps API v3] How to use encoded polylines returned by the Google Maps Web Service

2010-12-14 Thread Christian Zambrano
The response of a request for direction to the Google Maps Web Service includes encoded polylines in the element overview_polyline. I would like to display these polylines on a Javascript google map V3 but there doesn't seem to be a way. Am I missing something? V2 had GPolyline which accepted en

[Google Maps API v3] Getting a transparent road layer

2010-12-14 Thread Michael Geary
I want to make a terrain map with a transparent road layer on top of it, similar to the way that the hybrid map puts a road layer and related info on top of a satellite view. I tried creating a StyledMapType using these styles: var styles = [ { featureType: "all",

[Google Maps API v3] Re: Trying to Save Placed Markers

2010-12-14 Thread Rossko
> First, how do I check what arguments downloadUrlAdd() returns? It's code that you wrote, so you just have to read it: function downloadUrlAdd(url, callback) { you pass some function to downloadUrlAdd callback(request.responseText, request.status); when it's ready, it calls that funct

[Google Maps API v3] Re: view all local search results on one map

2010-12-14 Thread Grok Lobster
No can do. Max of 8 results at a time. On Dec 14, 4:21 pm, Gretchen wrote: > Good afternoon. > > I am using the following local search example: > > http://gmaps-samples-v3.googlecode.com/svn/trunk/localsearch/places.html > > I would like to display all local search results on one map (not just >

[Google Maps API v3] Re: Altering infowindow after load via jQuery

2010-12-14 Thread geocode...@gmail.com
On Dec 14, 1:24 pm, Brian wrote: > I have a map that loads 20 or so points, each with an info window. > Inside the info window, I have custom markup, something along these > lines: > > Info about tickets goes here. > > After the page/map loads, I want to go in and dynamically change this > text vi

[Google Maps API v3] Re: Trying to Save Placed Markers

2010-12-14 Thread mattsenate
First, how do I check what arguments downloadUrlAdd() returns? I'm trying to use Chrome's Developer Tools and Javascript Console, but can't seem to figure it out. Second, to make sure we're talking about the same code, I'm just going to copy + paste, though it's still accessible at the link I gave

[Google Maps API v3] Re: Trying to Save Placed Markers

2010-12-14 Thread mattsenate
[MOSTLY SOLVED] -- Thanks everyone! Aha! I think I've finally caught the error, by moving both of the infowindow and infowindowAdd variables (as well as the htmlAdd variable) outside of load() I got this error: Uncaught TypeError: Cannot call method 'close' of undefined (anonymous function)n0spac

[Google Maps API v3] view all local search results on one map

2010-12-14 Thread Gretchen
Good afternoon. I am using the following local search example: http://gmaps-samples-v3.googlecode.com/svn/trunk/localsearch/places.html I would like to display all local search results on one map (not just 4 or 8 on pages). I guess what I want to accomplish is similar to when a user searches on

[Google Maps API v3] Altering infowindow after load via jQuery

2010-12-14 Thread Brian
I have a map that loads 20 or so points, each with an info window. Inside the info window, I have custom markup, something along these lines: Info about tickets goes here. After the page/map loads, I want to go in and dynamically change this text via jQuery: $('.tickets').each(function(){ $(t

[Google Maps API v3] Re: How do create drop shadow for custom map marker icon?

2010-12-14 Thread Rossko
> shadow: 'http://cdn.example/images/shadow.png' > > Any ideas why the shadow isn't working? Doesn't seem to be an image at that url -- 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-ma

[Google Maps API v3] Re: Trying to Save Placed Markers

2010-12-14 Thread Rossko
> outside of load() entirely. But submitting a new entry by clicking > "save & close" does not close the infowindowAdd. I think if ( == 200 && data.responseText <= 1) crashes in your callback ; have a look at what your downloadUrlAdd() returns as its second argument ; its just a string, al

[Google Maps API v3] Re: Trying to Save Placed Markers

2010-12-14 Thread mattsenate
Thanks, I understand your explanation and it makes sense to me, but after implementing the change, still no dice. I moved var infoWindow = new google.maps.InfoWindow; var infowindowAdd = new google.maps.InfoWindow({ content: htmlAdd}); outside of load() entirely. But submitting a new entry

[Google Maps API v3] Re: Trying to Save Placed Markers

2010-12-14 Thread Rossko
> I think > I'm having a hard time with the underlying idea behind instantiating > an infowwindow object. Might the issue be that I have left > infowindowAdd and infoWindow separate? I think you have two different purposes for these ; one is a regular infowindow giving info on downloaded markers,

[Google Maps API v3] Re: Trying to Save Placed Markers

2010-12-14 Thread mattsenate
I'm working on this version now, but can still debug with the old location: http://www.thegutenberg.com/n0space/ Chad: I tried again to implement all of the changes you made above. I think I'm having a hard time with the underlying idea behind instantiating an infowwindow object. Might the issue b

[Google Maps API v3] Re: What happend to reverse geocoding sublocality

2010-12-14 Thread dreeh
Hello, is there any solution or workaround for the missing sublocality? i've the same issue with asking for an address: the sublocality is equal to locality. example: http://maps.google.com/maps/api/geocode/json?address=Deutschland+München+Westenriederstraße+35&sensor=false greets denny On 1

[Google Maps API v3] IE8 Memory Leack

2010-12-14 Thread Francesco Belli
I'm having memory leak problems with IE8 using the follow function: function showAllSC(){ downloadUrl("xml/SCmarkers.php", function(data) { xml = data.responseXML; markers = xml.documentElement.getElementsByTagName("sc"); for (i = 0; i < markers.length; i++) {

[Google Maps API v3] Re: KmlLayer and Java V3

2010-12-14 Thread Tzevy Cont
Thx again Larry , I understand now why don't show me 'real time'.The kml file won't change so offen, i only need for debug but i found this http://kml-samples.googlecode.com/svn/trunk/interactive/index.html where i can test my kml -- You received this message because you are subscribed to the G

[Google Maps API v3] Re: How do create drop shadow for custom map marker icon?

2010-12-14 Thread mp-
Hmm, strange. I got it to work here in my example code: http://jsfiddle.net/brWhw/ But not in my real/actual code -- 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...@googl

[Google Maps API v3] Re: How do create drop shadow for custom map marker icon?

2010-12-14 Thread mp-
Doesn't work. My code below, that does show the "bounce" but not the "shadow" var marker = new google.maps.Marker({ position: point, map: com.example.MAP, icon: 'http://cdn.example.com/images/circle.png', draggable: false, animation: google.maps.Animation.DROP, shadow: 'http:/

Re: [Google Maps API v3] Re: How do create drop shadow for custom map marker icon?

2010-12-14 Thread Stephan Bardubitzki
Try this to create shadows for custom markers, works great: http://www.cycloloco.com/shadowmaker/shadowmaker.htm On Tue, Dec 14, 2010 at 10:36 AM, CroNiX wrote: > There is a shadow property for markers. > > http://code.google.com/apis/maps/documentation/javascript/reference.html#MarkerOptions

[Google Maps API v3] Re: How do create drop shadow for custom map marker icon?

2010-12-14 Thread CroNiX
There is a shadow property for markers. http://code.google.com/apis/maps/documentation/javascript/reference.html#MarkerOptions On Dec 14, 10:31 am, mp- wrote: > I'm using the new functionality of Animation (bouncing) found in > Google Maps JavaScript API v3. > > http://code.google.com/apis/maps/d

[Google Maps API v3] Re: How do create drop shadow for custom map marker icon?

2010-12-14 Thread mp-
Here is an example using the default map marker icon. http://code.google.com/apis/maps/documentation/javascript/examples/marker-animations-iteration.html How do I do this using a custom map marker icon that also has a drop shadow. -- You received this message because you are subscribed t

[Google Maps API v3] How do create drop shadow for custom map marker icon?

2010-12-14 Thread mp-
I'm using the new functionality of Animation (bouncing) found in Google Maps JavaScript API v3. http://code.google.com/apis/maps/documentation/javascript/overlays.html#MarkerAnimations In the examples in the linked code above, the default map marker icons have a dropshadow show on the map during

[Google Maps API v3] Re: How to make right menu(of maps.google.com) using google maps api v3?

2010-12-14 Thread CroNiX
Except in Firefox they disable the option to allow javascript to create a contextmenu...by default...making contextmenus just about useless. So any user using FF won't see your menu unless they manually go and allow that in the settings. Options -> Content -> Allow Javascript (Advanced) -> Allow S

[Google Maps API v3] Re: KmlLayer and Java V3

2010-12-14 Thread geocode...@gmail.com
On Dec 14, 9:18 am, Tzevy Cont wrote: > Thx Larry > > var ctaLayer = new > google.maps.KmlLayer('http://gmaps-samples.googlecode.com/svn/trunk/ggeoxml/cta.kml',random... > > like that ? Don't know. Does it work for you? I don't think the cta.kml file will change very often... If you post a link

Re: [Google Maps API v3] Re: A really good question about KMZ files

2010-12-14 Thread Dan Braun
Thanks so much for this help! I'll play around with it. On Tue, Dec 14, 2010 at 11:29 AM, Joseph Elfelt wrote: > Your approach for kmz files is correct. > They work exactly like kml files. > > The docs describe some limits on file size > http://code.google.com/apis/kml/documentation/mapsSupport.h

[Google Maps API v3] Re: A really good question about KMZ files

2010-12-14 Thread Joseph Elfelt
Your approach for kmz files is correct. They work exactly like kml files. The docs describe some limits on file size http://code.google.com/apis/kml/documentation/mapsSupport.html Here's a random kmz file that the api can display: http://mapmanic.com/kml/LasTrampasRegionalWilderness.kmz Map show

[Google Maps API v3] Re: KmlLayer and Java V3

2010-12-14 Thread Tzevy Cont
Thx Larry var ctaLayer = new google.maps.KmlLayer('http://gmaps-samples.googlecode.com/svn/trunk/ggeoxml/cta.kml',random_number); like that ? -- 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 t

[Google Maps API v3] Re: Is the new browser-print feature working for anyone?

2010-12-14 Thread Joseph Elfelt
Sure enough, it's me - sort of. Google I ever so humbly apologize for thinking it might be you. I have been complaining that I cannot print via the browser using my production code. I also have newer development code that includes some tweaks to the css. Here's a map produced by my current devel

[Google Maps API v3] Re: convert address to lat/ltag

2010-12-14 Thread geocode...@gmail.com
On Dec 14, 8:44 am, howhow wrote: > correction:: > > first i want a thank you  all for  helping > > what i 'm trying to do is creating a function that returns the lat/ltg by > the address: > i did somthing like this: > > var pointTo = getMyLtLg ('New York City, NY, USA'); > > function *getMyLtLg*

[Google Maps API v3] Re: KmlLayer and Java V3

2010-12-14 Thread geocode...@gmail.com
On Dec 14, 8:30 am, Tzevy Cont wrote: > I have a kml file on my site and i want to show on the map.It works but if i > edit the kml file don't show me the new file but the old one. > How could i show a live modification to kml ? Google's servers cache the kml for some period of time. If you chan

[Google Maps API v3] Re: convert address to lat/ltag

2010-12-14 Thread howhow
correction:: first i want a thank you all for helping what i 'm trying to do is creating a function that returns the lat/ltg by the address: i did somthing like this: var pointTo = getMyLtLg ('New York City, NY, USA'); function *getMyLtLg* (showAdd) { var address = showAdd ; geocoder

[Google Maps API v3] convert address to lat/ltag

2010-12-14 Thread howhow
first i want a thank you all for helping what i 'm trying to do is creating a function that returns the lat/ltg by the address: i did somthing like this: var pointTo = getMyLtLg ('New York City, NY, USA'); function codeAddress(showAdd) { var address = showAdd ; geocoder.geocode( { 'add

[Google Maps API v3] KmlLayer and Java V3

2010-12-14 Thread Tzevy Cont
I have a kml file on my site and i want to show on the map.It works but if i edit the kml file don't show me the new file but the old one. How could i show a live modification to kml ? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" g

[Google Maps API v3] A really good question about KMZ files

2010-12-14 Thread dan_default
I have a KMZ file produced by ArcMap. Its 1.26 MB. I have successfully loaded KML (not KMZ) files from a server with the following: var kmlLayer = new google.maps.KmlLayer("http://www.url.com/filename.kml";, {suppressInfoWindows: true}); kmlLayer.preserveViewport = true; kmlLayer.setMap(map);

[Google Maps API v3] Re: Can someone help! Map window behave strangely in blogspot.com frame.

2010-12-14 Thread Esa
The problem sounds like a typical CSS conflict. There is a huge amount of CSS in Blogger. The safest way to isolate your map from Blogger CSS, is to use . That is how Google does it in their own blogs. http://googlegeodevelopers.blogspot.com/2010/12/map-markers-they-move.html -- You received thi

[Google Maps API v3] Re: Is the new browser-print feature working for anyone?

2010-12-14 Thread Pil
Maybe you've that media="screen" only removed from a local copy. I stlll can see it when I call your page. In this case Google seems completely innocent. ;-) On Dec 14, 3:38 pm, Joseph Elfelt wrote: > Pardon me Google but this is slightly annoying. > Yesterday my app could print fine via the

[Google Maps API v3] Re: Is the new browser-print feature working for anyone?

2010-12-14 Thread Joseph Elfelt
Pardon me Google but this is slightly annoying. Yesterday my app could print fine via the browser. See sample map above. Alas, this morning my app cannot print via the browser. I sure hope you can get this feature stabilized. -- You received this message because you are subscribed to the Google

[Google Maps API v3] Re: Distance Travelled

2010-12-14 Thread Chris Macdonald
Nevermind got this working, I had an error. Not sure how you mark resolved in these... -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe

Re: [Google Maps API v3] Re: How to make right menu(of maps.google.com) using google maps api v3?

2010-12-14 Thread Sankar Talam
Dear Pi, Thank you so much for the help. This is my perfect requirement. -- Many Thanks Sankar T On Tue, Dec 14, 2010 at 5:32 AM, pi5701 wrote: > here you go: > http://www.mario-baldauf.org/test/contextmenu_v3.html > > -- > You received this message because you are subscribed to the Google

[Google Maps API v3] Re: Embedding html into InfoWindow of my map

2010-12-14 Thread Onur Güzel
Though Google Maps documentations doesn't mention this and without anybody's reference, i found out that i should use innerHTML property to assing a pre-loaded html (wrapped in a DIV) as "contentstring" of infowindow. So, it works. Onur On Dec 13, 1:46 am, Onur Güzel wrote: > I believe it's a ja

[Google Maps API v3] Re: How to make right menu(of maps.google.com) using google maps api v3?

2010-12-14 Thread pi5701
here you go: http://www.mario-baldauf.org/test/contextmenu_v3.html -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send

[Google Maps API v3] Re: How to make right menu(of maps.google.com) using google maps api v3?

2010-12-14 Thread pi5701
just bind the 'LatLng/Pixel Coordinate Custom Control' to google.maps.event.addListener(map, 'rightclick', function(mEvent) {}; -- 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

[Google Maps API v3] Re: How to make right menu(of maps.google.com) using google maps api v3?

2010-12-14 Thread Pil
On Dec 14, 11:58 am, pi5701 wrote: > i successfully managed to make a context menu taking this googlemaps v3 > example as a > starthttp://gmaps-samples-v3.googlecode.com/svn/trunk/latlng-to-coord-cont... Hmm, I can't see any menu on right click ... -- You received this message because you a

[Google Maps API v3] Total Nooby looking for help and advice in developing a gmaps mash up...

2010-12-14 Thread tosh
Hi all, I hope you can excuse my lack of knowledge about googlemaps api. I guess many are pretty experienced with the api and could roll your eyes at my questions. Here goes... I would like to develop an application that heavily relies on google maps where users can add start and end points of a

[Google Maps API v3] Re: How to make right menu(of maps.google.com) using google maps api v3?

2010-12-14 Thread pi5701
i successfully managed to make a context menu taking this googlemaps v3 example as a start http://gmaps-samples-v3.googlecode.com/svn/trunk/latlng-to-coord-control/latlng-to-coord-control.html -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript A

[Google Maps API v3] Re: How to make right menu(of maps.google.com) using google maps api v3?

2010-12-14 Thread Pil
You can translate this to v3 http://gmaps-utility-library-dev.googlecode.com/svn/tags/contextmenucontrol/1.0/ It's surely not done speedy and quick but it's doable. On Dec 14, 9:40 am, Sankar T wrote: > Dear All, > > Could anyone help me on how to create the default right click menu > (ofh

[Google Maps API v3] How to make right menu(of maps.google.com) using google maps api v3?

2010-12-14 Thread Sankar T
Dear All, Could anyone help me on how to create the default right click menu (of http://maps.google.com) with "directions from here", "directions to here", "Zoom in", etc... in our application using google maps api v3? Thanks In Advance Sankar T -- You received this message because you are su