Re: Lost with Map Manager Options

2009-09-05 Thread Mike Williams
Wasn't it iceangel89 who wrote: > i >noticed that if i setCenter my zoom at 17 and maxZoom at 16 i dont see >my markers at first when i zoom out and back in i see my markers. That sounds like you're failing to call .refresh(). If you use .addMarkers(), you must call mgr.refresh(). It's proba

Lost with Map Manager Options

2009-09-05 Thread iceangel89
i am abit lost with these. * maxZoom: specifies the maximum zoom level monitored by this marker manager. The default value is the highest zoom level supported by Google maps. * borderPadding: specifies the extra padding, in pixels, monitored by the manager outside the current viewport. T

Re: Google map api doesn't work in a https page on IE8

2009-09-05 Thread Mike Williams
"Doesn't work" is a bit vague. If you're getting the "blank alert when page loads" problem, then that's a bug that's in FixedNotReleased status. If you're getting the warning that the page contains a mixture of secure and insecure code, that's a feature of the free API. -- Mike Williams http:

Re: Map Manager example in Docs

2009-09-05 Thread geocode...@gmail.com
On Sep 5, 11:43 pm, iceangel89 wrote: > i am wondering whats the code for getRandomPoint() & getWeatherIcon() > in the > examplehttp://code.google.com/apis/maps/documentation/overlays.html#Marker_M... >From just above the code you posted on that same page... function getRandomPoint() {

Re: Feeding Geocoder result into GMarker

2009-09-05 Thread geocode...@gmail.com
On Sep 5, 9:42 pm, KirAsh4 wrote: > I have the following function: > > function getLoc(idx) { >   return new GLatLng(stuData[idx].pos[0],stuData[idx].pos[1]); > > } > > The array looks: > > var stuData = [ >   {"pos" : [40.033293, -105.261295], ...} > ]; > > Further in the code I have: > > var ma

Map Manager example in Docs

2009-09-05 Thread iceangel89
i am wondering whats the code for getRandomPoint() & getWeatherIcon() in the example http://code.google.com/apis/maps/documentation/overlays.html#Marker_Manager_Weather? function getWeatherMarkers(n) { var batch = []; for (var i = 0; i < n; ++i) { batch.push(new GMarker(getRandomPoint(),

Re: failed to open stream HTTP request failed file_get_contents()

2009-09-05 Thread JRough
Okay, I fixed the error. I changed the url to be $apiURL = "http:// maps.google.com/maps/geo?q="; It seems to have fixed the error on line 84. Now there is one other error that was there before and it should work. it is undefined offset which seems to be in the xml parsing. It is on line 246.

Feeding Geocoder result into GMarker

2009-09-05 Thread KirAsh4
I have the following function: function getLoc(idx) { return new GLatLng(stuData[idx].pos[0],stuData[idx].pos[1]); } The array looks: var stuData = [ {"pos" : [40.033293, -105.261295], ...} ]; Further in the code I have: var marker = new GMarker(getLoc(idx)); This works great. However,

Re: failed to open stream HTTP request failed file_get_contents()

2009-09-05 Thread JRough
How can I translate this url to be instead for google maps? "http://api.local.yahoo.com/MapsService/V1/geocode? appid=YahooDemo&location=" thanks for your other answer. Janis On Sep 5, 4:20 pm, Andrew Leach wrote: > On Sep 5, 11:40 pm, JRough wrote: > > >http://99.20.128.85/~jlrough/workspace/

Re: failed to open stream HTTP request failed file_get_contents()

2009-09-05 Thread Rossko
> How can I translate this url to be instead for google maps? Start with the documentation - http://code.google.com/apis/maps/documentation/geocoding/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API

Re: Static Maps API v2: Encoded Paths, Polygons & Geocoding

2009-09-05 Thread pamela (Google Employee)
Yes, that is also one of the filed feature requests. - pamela On Sun, Sep 6, 2009 at 1:45 AM, bratliff wrote: > > > > On Sep 5, 1:13 pm, "pamela (Google Employee)" > wrote: >> Hi bratliff- >> >> We looked into that as well, see my last response on the filed issue about >> it:http://code.google

Re: Google map api doesn't work in a https page on IE8

2009-09-05 Thread Andrew Leach
On Sep 5, 10:34 pm, Yoyo wrote: > It is working in IE8 in a http page but not in a https page. Is a bug > from the api or a bug in my script? I'm surprised it works in FF and Chrome. See http://code.google.com/apis/maps/faq.html#ssl Andrew --~--~-~--~~~---~--~~

Re: failed to open stream HTTP request failed file_get_contents()

2009-09-05 Thread Andrew Leach
On Sep 5, 11:40 pm, JRough wrote: > http://99.20.128.85/~jlrough/workspace/soliant/googlemap2.php > > This should be easy.  I was having trouble with my script and to > troubleshoot I just hardwired one address into the function in the > class.   1. Why are you asking about the Yahoo API? 2. Wha

Google map api doesn't work in a https page on IE8

2009-09-05 Thread Yoyo
Hi, I use the google map api for a while and everything is perfect. But recently I test my script in a secure area (SSL) and it doesn't work in IE8. It is working in FF and Chrome. It is working in IE8 in a http page but not in a https page. Is a bug from the api or a bug in my script? Thanks for

failed to open stream HTTP request failed file_get_contents()

2009-09-05 Thread JRough
http://99.20.128.85/~jlrough/workspace/soliant/googlemap2.php This should be easy. I was having trouble with my script and to troubleshoot I just hardwired one address into the function in the class. Low and behold I get the same error as my script was getting so I think I'm missing an easy var

Re: Polyline Encoder Utility oddity

2009-09-05 Thread bratliff
On Sep 5, 4:18 pm, KirAsh4 wrote: > For this test, yes I did. As I was adding the waypoints in the > encoder, before hitting 'add point', I would copy and paste the > values. Eventually (and now that I know what my mistake was), I'll > continue to use the encoder. In fact, I did try to use tha

Re: Overlapping markers

2009-09-05 Thread pinzerik
Ok thank youvery very much for your suggestions, patience and hints!!! I solved like this: var popup = ""; if(type=="A"){ popup = ""+nome+""; } else { popup = type; } thanks a lot again On 4 Set, 13:18, Rossko wrote: > > var popup = if(type=="A"){"hello A"} else {"hello!"}; > > Learn to use wh

Re: terrain maptype problem

2009-09-05 Thread Andrew Leach
On Sep 5, 4:19 pm, Spencer Nassar wrote: > I'm seeing requests with maptype=terrain fail if mobile=true is set, > but roadmap, hybred, and satellite map requests render fine. > > If you put a valid client in below, and try this with different values > for maptype, with and without mobile=true, yo

Re: When using google.load()

2009-09-05 Thread Mike Williams
When the google.load() has completed, you can use both GIcon and google.maps.Icon. Nowadays, it is considered best practice for an API provider to use only one top-level global variable, and that's what the newer Google APIs (like Maps API v3) do. Back when google.load() for maps v2 came out,

Re: Polyline Encoder Utility oddity

2009-09-05 Thread KirAsh4
On Sep 5, 10:04 am, bratliff wrote: > > In many cases, encoding is a waste of time.  If standard polys work > correctly, why bother to encode ? To reduce the amount of data send to the client. And while this is literally "Day 2" of this project, I'm also looking at the possibility of using a cu

Re: NEW Google Maps control

2009-09-05 Thread Mike Williams
You can't specify the position when you use setUI, you have to create the GLargeMapControl3D() with addControl() in order to be able to specify the GControlPosition. -- Mike Williams http://econym.org.uk/gmap --~--~-~--~~~---~--~~ You received this message be

Re: Polyline Encoder Utility oddity

2009-09-05 Thread Andrew Leach
On Sep 5, 5:04 pm, bratliff wrote: > > In many cases, encoding is a waste of time.  If standard polys work > correctly, why bother to encode ? In my case, the principal reason is it reduces the amount of data transferred from the server to the client, thus helping our bandwidth usage figures; an

Re: Polyline Encoder Utility oddity

2009-09-05 Thread KirAsh4
On Sep 5, 9:37 am, "Pil (Trustworthy from Experience)" wrote: > > But did you really paste in every lat und lng separately? > Not very comfortable. ;-) > > I'd try this one > > http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/encodeFor... For this test, yes I did. As I was adding the

Re: Polyline Encoder Utility oddity

2009-09-05 Thread bratliff
On Sep 5, 8:08 am, KirAsh4 wrote: > I'm trying to use the Polyline Encoder Utility and not having a whole > lot of luck. When I try to display my map and not encoding the > points, everything works as expected. However, if I try to encode the > points using the utility [1], the same points gene

Re: Polyline Encoder Utility oddity

2009-09-05 Thread KirAsh4
On Sep 5, 9:26 am, "geocode...@gmail.com" wrote: > > Haven't tested it yet, but I suspect that  in the encoded points: > > iocsfbsmasblgrf~dms...@culaq_@i}...@cmgpawvfwdh@c...@]gmaxwr > \kRGsCuC_FcW~]Q > > "\" needs to be encoded as "\\" And that was it. This is what happens when it's 3 in th

Re: bounds of the whole planet

2009-09-05 Thread ioustinos
thank you all On Aug 13, 2:38 am, Mike Williams wrote: > The part of the world served with Google Map imagery is about >     -85.0511,-180 to 85.0511,180 > > -- > Mike Williamshttp://econym.org.uk/gmap --~--~-~--~~~---~--~~ You received this message because you ar

Re: how to get all the street adressess of a city

2009-09-05 Thread Fernando Torres
I have this information for Brasil cities modeling in MySQL. On Sat, Sep 5, 2009 at 9:36 AM, felipe mito wrote: > > Hello, i have been searching the API documentation and i dont found a > way to get a list of all adresses of a given city. > > Anyone knows how to do this or even if it is possible

Re: NEW Google Maps control

2009-09-05 Thread Grok Lobster
http://code.google.com/apis/maps/documentation/reference.html#GControlPosition On Sep 5, 3:00 am, Vipin wrote: > Hi, > Is it possible to reposition the new GMap Control (the one created > using the Default Maps UI) ? > > http://code.google.com/apis/maps/documentation/examples/control-uiOpt... >

Re: how to get all the street adressess of a city

2009-09-05 Thread bratliff
On Sep 5, 1:40 pm, bratliff wrote: > A geocoder cannot do it because it uses interpolation. In the US, you > can purchase the information from the US Postal Service. You may be > able to harvest the addresses from a city provided on-line database of > property-tax assessments. It is easy to do

Re: Static Maps API v2: Encoded Paths, Polygons & Geocoding

2009-09-05 Thread bratliff
On Sep 5, 1:13 pm, "pamela (Google Employee)" wrote: > Hi bratliff- > > We looked into that as well, see my last response on the filed issue about > it:http://code.google.com/p/gmaps-api-issues/issues/detail?id=1462 > > - pamela Have you considered letting a static map URL reference one or se

Re: Polyline Encoder Utility oddity

2009-09-05 Thread Pil (Trustworthy from Experience)
Yes, Larry is right. I just tried it out. But did you really paste in every lat und lng separately? Not very comfortable. ;-) I'd try this one http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/encodeForm.html On Sep 5, 10:08 am, KirAsh4 wrote: > I'm trying to use the Polyline En

terrain maptype problem

2009-09-05 Thread Spencer Nassar
I'm seeing requests with maptype=terrain fail if mobile=true is set, but roadmap, hybred, and satellite map requests render fine. If you put a valid client in below, and try this with different values for maptype, with and without mobile=true, you'll see what I mean. Spencer http://maps.google.

Re: Polyline Encoder Utility oddity

2009-09-05 Thread geocode...@gmail.com
On Sep 5, 4:08 am, KirAsh4 wrote: > I'm trying to use the Polyline Encoder Utility and not having a whole > lot of luck.  When I try to display my map and not encoding the > points, everything works as expected.  However, if I try to encode the > points using the utility [1], the same points gene

Re: When using google.load()

2009-09-05 Thread Barry Hunter
On 05/09/2009, iceangel89 wrote: > > when using google.load i think i can only use google.* after > google.load() completes. so i cant follow some of the examples shown > in the docs. eg. > > var baseIcon = new GIcon(G_DEFAULT_ICON); > baseIcon.shadow = "http://www.google.com/mapfiles/shadow

NEW Google Maps control

2009-09-05 Thread Vipin
Hi, Is it possible to reposition the new GMap Control (the one created using the Default Maps UI) ? http://code.google.com/apis/maps/documentation/examples/control-uiOptions.html The position now is always on the TOP LEFT. Is it possible to move this to the BOTTOM RIGHT? thanks, Vipin --~--~--

Polyline Encoder Utility oddity

2009-09-05 Thread KirAsh4
I'm trying to use the Polyline Encoder Utility and not having a whole lot of luck. When I try to display my map and not encoding the points, everything works as expected. However, if I try to encode the points using the utility [1], the same points generate some strange results. I have a test m

When using google.load()

2009-09-05 Thread iceangel89
when using google.load i think i can only use google.* after google.load() completes. so i cant follow some of the examples shown in the docs. eg. var baseIcon = new GIcon(G_DEFAULT_ICON); baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";; ... function createMarker(point, index) {

Re: how to get all the street adressess of a city

2009-09-05 Thread geocode...@gmail.com
On Sep 5, 8:36 am, felipe mito wrote: > Hello, i have been searching the API documentation and i dont found a > way to get a list of all adresses of a given city. That is not part of the API. > > Anyone knows how to do this or even if it is possible? See bratliff's post. --~--~-~--~---

Re: google map arcmap integration www.xyzmap.com

2009-09-05 Thread pamela (Google Employee)
Judging from their their lack of copyrights/logo, it looks to me to be a tile-scraper, and thus in violation of the terms. Thanks for bringing to our attention. - pamela On Fri, Sep 4, 2009 at 7:26 PM, Andrew Leach wrote: > > On Sep 4, 10:18 am, Rossko wrote: >> > It seems to be out of TOS. If

Re: how to get all the street adressess of a city

2009-09-05 Thread bratliff
On Sep 5, 12:36 pm, felipe mito wrote: > Hello, i have been searching the API documentation and i dont found a > way to get a list of all adresses of a given city. > > Anyone knows how to do this or even if it is possible? A geocoder cannot do it because it uses interpolation. In the US, you ca

Re: Blank Google Map

2009-09-05 Thread iceangel89
ok i actually shld be using the parameters the other way arnd. On Sep 3, 9:49 pm, iceangel89 wrote: > i am learning google maps. reading the docs and such. a moment ago, it > was working now its not. > > http://yfrog.com/1693200994557pmp > > even the marker/overlay works the thing is i get a bla

Re: Static Maps API v2: Encoded Paths, Polygons & Geocoding

2009-09-05 Thread pamela (Google Employee)
Hi bratliff- We looked into that as well, see my last response on the filed issue about it: http://code.google.com/p/gmaps-api-issues/issues/detail?id=1462 - pamela On Sat, Sep 5, 2009 at 11:10 PM, bratliff wrote: > > On Aug 26, 10:34 am, "pamela (Google Employee)" > wrote: >> We looked quite

Re: Static Maps API v2: Encoded Paths, Polygons & Geocoding

2009-09-05 Thread bratliff
On Aug 26, 10:34 am, "pamela (Google Employee)" wrote: > We looked quite a bit into dropping the key requirement, but it wasn't > possible. What about using an abbreviated key ? Can you use a fake image to associate a key with the "referrer" ? http://maps.google.com/staticmap/transparent.

how to get all the street adressess of a city

2009-09-05 Thread felipe mito
Hello, i have been searching the API documentation and i dont found a way to get a list of all adresses of a given city. Anyone knows how to do this or even if it is possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Parsing error

2009-09-05 Thread nicarcola
Today I got several times the same error. Also in a page without the google analytics code. I saw that the page I mentioned before now is OK in the validator. But if I go to my webpage and go to the source by rightclicking and I save that source and upload it to the server and put it through the

Re: internet explorer cannot open the internet site - operation aborted

2009-09-05 Thread Mario
I moved the script from the head of the page to the end and now it seems to work. Maybe IE calls the onload event too early? On Sep 4, 6:24 pm, "geocode...@gmail.com" wrote: > On Sep 4, 1:28 am, Mario wrote: > > > Thank you for suggestions. > > > I deleted the commented script, and now i load

Re: show route on map

2009-09-05 Thread Pil (Trustworthy from Experience)
On Sep 5, 12:38 pm, "gayspace.it" wrote: > i just want to show 8,1 km on another page is it possible? If you store the duration or whatever in a variable then it's technically the question how to pass a variable to another page. There are a few possibilities, not directly related to the M

Re: show route on map

2009-09-05 Thread Rossko
> i just want to show 8,1 km on another page is it possible? Is it legal? GDirections data is provided for use either with a map or with turn-by-turn directions --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: MarkerCluster, problems with implementation

2009-09-05 Thread Rossko
> I assume there must be  a way of only loading the ones that are in > view at any one time? Research MarkerManager for a client side solution. It has limitations of course, there are server-side alternatives. For 7,500 markers you could look into server-side creation of tile overlays. But given

Re: URL not loading

2009-09-05 Thread Esa
On Sep 5, 10:13 am, Mike Williams wrote: > Are there free hosting accounts with PHP support? > http://www.easypagez.com/hosting.html PHP and MySQL --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API"

Re: show route on map

2009-09-05 Thread gayspace.it
last request: there is a function which show ONLY the distance between 2 point? example... Via Pionara 8,1 km (circa 11 min) 1. Procedi in direzione nord da Via Pionara verso Via Cesco Baseggio 41 m 2. Prendi la 1a a destra in corrispondenza di Via Cesco Baseggio 95 m 3. Alla r

Re: save markers google map in data base

2009-09-05 Thread Mike Williams
I suspect that "marker" isn't global. Javascript launched from HTML onclicks executes in global context and can only access global variables and functions. -- Mike Williams http://econym.org.uk/gmap --~--~-~--~~~---~--~~ You received this message because you

Re: MarkerCluster, problems with implementation

2009-09-05 Thread miref...@googlemail.com
Rossko thanks for looking I finally got it sorted out, my only problem now is how to do the UK I have 7,500 markers for the map and even markerclusterer is sruggling with that many markers. I assume there must be a way of only loading the ones that are in view at any one time? Could do with

Re: More than one data source => GDownloadUrl

2009-09-05 Thread Fred
Finally it's work ! Just copy and paste the first GdownLoadUrl call, and adapt to your need. My problem was, I missed the }); at the end. (sorry i'm newbie) I publish the final code : (for the original code visit : http://econym.org.uk/gmap/example_categories.htm ) GDownloadUrl("geofeedte

Re: save markers google map in data base

2009-09-05 Thread Rossko
> i need to save markers in the database so i did this function > function save() > { >        var latlng= marker.getLatLng(); It woud all depend on the value of 'marker' when that function is called. The code snippet has no value as it doesn't tell us what that might be. Please follow the postin

Re: show route on map

2009-09-05 Thread Pil (Trustworthy from Experience)
1. Set the locale property of the directions call to "it": fooo.load(.., { locale: "it" }); 2. Set the option preserveViewport to true. 1 and 2 are all good documented in the reference http://code.google.com/apis/maps/documentation/reference.html 3. No, the query allows only to

save markers google map in data base

2009-09-05 Thread amira benfradj
i need to save markers in the database so i did this function function save() { var latlng= marker.getLatLng(); var lat=latlng.lat(); var lng=latlng.lng(); var url="sql.php?&lat=" + lat + "&lng=" + lng; GDownloadUrl(url,function(data,responseCode){ if(res

Re: show route on map

2009-09-05 Thread gayspace.it
other request: how can i put my markers "m" and "casa" instead of "a" and "b" markers? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@goo

Re: show route on map

2009-09-05 Thread gayspace.it
other request: how can i put my markers "m" and "casa" instead of "a" and "b" markers? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@goo

Re: show route on map

2009-09-05 Thread gayspace.it
other request: how can i put my markers "m" and "casa" instead of "a" and "b" markers? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@goo

Re: show route on map

2009-09-05 Thread gayspace.it
it works :) other questions: 1. how can i show step-by-step in italian? 2. how can i preserve the zoom? 3. is it possible to give preference to highway route? i know there is a class GDirectionsOptions, but I don't know how to use it -.- --~--~-~--~~~---~--~~ You

Re: show route on map

2009-09-05 Thread Pil (Trustworthy from Experience)
Sorry, the last point after 5 certainly should be a comma ... baseggio 5,italy"); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googleg

Re: show route on map

2009-09-05 Thread Pil (Trustworthy from Experience)
On Sep 5, 10:24 am, "gayspace.it" wrote: > http://91.194.90.196/~gs/guida_locali/mappa_estesa.php?id_locale=361 Try the following: Delete gdir.load("from: Marcon via don ballan 27 to: mestre via baseggio 5"); And you will get directions from asse, belgium to antwerpen, belgium when the ma

Re: show route on map

2009-09-05 Thread gayspace.it
an example http://91.194.90.196/~gs/guida_locali/mappa_estesa.php?id_locale=361 On Sep 5, 9:11 am, Mike Williams wrote: > Wasn't it gayspace.it who wrote: > > >(new GLatLng(, ) > > Naming your latitude variable "$lo0" and your longitude variable "$li0" > is liable to cause you to get confused a

need to set mouseOutTolerance on a GPolygon.fromEncoded

2009-09-05 Thread chrissky
Please tell me there is a way to do that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group,

Syntax Changes for v175

2009-09-05 Thread Econym [Maps API Guru]
Note: API v2.175 is not yet live. It's possible that the code may be changed before it goes live. It's not a good idea to use pre-release versions for live sites. Deleted GMarkerOptions {dynamic} {dic} --~--~-~--~~~---~--~~ You received this message because y

Re: URL not loading

2009-09-05 Thread Mike Williams
Are there free hosting accounts with PHP support? -- Mike Williams http://econym.org.uk/gmap --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Ma

Re: show route on map

2009-09-05 Thread Mike Williams
Wasn't it gayspace.it who wrote: >(new GLatLng(, ) Naming your latitude variable "$lo0" and your longitude variable "$li0" is liable to cause you to get confused about which is which. -- Mike Williams http://econym.org.uk/gmap --~--~-~--~~~---~--~~ You recei