Re: [Google Maps API v3] Re: Why are my KML markers not loading?

2012-01-17 Thread Niklas Rosencrantz
I posted most of my code for review to stackoverflow: http://stackoverflow.com/questions/8906165/troubleshooting-dynamically-generated-kml Some strategies I can think of are - Change templating to Jinja2 which could be more effective - Make a cron job that accesses the file every 5 minutes to keep

[Google Maps API v3] Re: Why are my KML markers not loading?

2012-01-17 Thread geocode...@gmail.com
On Jan 17, 8:50 pm, Niklas Rosencrantz wrote: > It is dynamically generated and I try to cache it. It just fails > intermittently for no appearant reason. I have Python that generates the > KML and the code is checke and should be working. I don't see where the > program is wrong? Take the output

[Google Maps API v3] Re: google.maps.event.addListener - onClick function

2012-01-17 Thread Craig
Hi Luke, I was wondering also if you can please provide an example for the: oogle.maps.visualization.MapDataLayer As I would like to test out the feature to overlay a GEB layer on the map. Thanks, Craig On Jan 18, 10:21 am, Craig wrote: > Hi, > > Sorry I'm quite new at this stuff. Can you

Re: [Google Maps API v3] Re: Why are my KML markers not loading?

2012-01-17 Thread Niklas Rosencrantz
It is dynamically generated and I try to cache it. It just fails intermittently for no appearant reason. I have Python that generates the KML and the code is checke and should be working. I don't see where the program is wrong? Thanks Nick On Tue, Jan 17, 2012 at 8:17 PM, Rossko wrote: > > the

[Google Maps API v3] Re: Adding markers from XML

2012-01-17 Thread geocode...@gmail.com
On Jan 17, 5:51 am, Fam Kosterman wrote: > At first i created a map with google map with a lot of markers. > I created this map in Google maps as my places > > Now i want to continue with the API > but this map is good for maintance i can easily find the locations and > mark them > > Now i exporte

[Google Maps API v3] Re: Geocode Viewport - Louisiana Incorrect

2012-01-17 Thread geocode...@gmail.com
On Jan 17, 11:41 am, Brian Bokor wrote: > Yes Larry, > > I was looking for my post to put that the coord coming back to me are > incorrect.  Here was the viewport coords > > "sw"=>"-89.559568,-36.598149", "ne"=>"89.860418,-147.6919"  which > aren't correct.  Do you know how to submit a problem for

[Google Maps API v3] Re: Maps V3 API Key Not working

2012-01-17 Thread Zane Lyall
OK it's working now when I use my localhost for testing. Though it wont work when I use the example code posted on the API website for "basic tutorial" showing how to use your api key. Strange. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScri

[Google Maps API v3] Limits + Console

2012-01-17 Thread Fadamaps trente-sept
Hi, 1 / the usage limit is based on ip server or api key ? 2 / when I consult Google APIs Console : I have in Reports / Usage / Methods : Top Methods Requests % Requests Methods 17. 57 k 48.45%mapsbackend.loadMap 10 79 k 29.75%mapslegacybackend.loadMap 5. 11 k14.09%

Re: [Google Maps API v3] Re: google.maps.event.addListener - onClick function

2012-01-17 Thread Peter Grant
Hi, In the html file where I request the maps api, I add v=3.5 just before the sensor= http://maps.google.com/maps/api/js?v=3.5&sensor=false";> I found it on this page and it worked for me. http://code.google.com/apis/maps/documentation/javascript/basics.html#Versioning Hope it helps, Peter

[Google Maps API v3] Re: have map; can't update map center and zoom when user inputs street address

2012-01-17 Thread JKurtock
On Jan 17, 1:17 pm, Michael Laird wrote: ... > This is a localhost development, but here's relevant code. Really? How do you know? In my personal experience, if I knew what code was the relevant code, I could find the problem. Put your code on a free server somewhere, so folks on this site w

[Google Maps API v3] Re: google.maps.event.addListener - onClick function

2012-01-17 Thread Craig
Hi, Sorry I'm quite new at this stuff. Can you please explain wha tyou mean by v=3.5 Craig On Jan 17, 1:56 pm, petergran wrote: > Hi, >   My Markers stopped responding to mouseover events tonight with > similar symptons. >   mouseover and click work until the first pan of the screen, then the >

[Google Maps API v3] Re: 2011/11/7 - New Release (3.7) - editable shapes, DrawingManager, and more

2012-01-17 Thread rtp
Hi all, I tried asking a similar question earlier, but not sure if it posted or not. If this is ends up duplicating what I tried to post earlier, I hope one of them gets deleted. Here goes: Is there an event that can be captured when you click the "undo" icon on an insert_at event type? F

[Google Maps API v3] have map; can't update map center and zoom when user inputs street address

2012-01-17 Thread Michael Laird
I'm new at this, but I have a Google V3 map that loads from the user's W3C browser geocode info, and I pull country, state, and city from the geocode object and update input boxes. If the user enters a street address, I want to geocode it via Google and change map.setCenter and setZoom, and disp

[Google Maps API v3] have a map; can't change map.setCenter from user input

2012-01-17 Thread Michael Laird
I geolocate the user via the browser, display a map and populate country, state and city input boxes from the Google geocode object. When the user enters a specific address, I want to revise and re-display the map with a new mapCenter, more zoom, and eventually a marker and infowindow. Despite

[Google Maps API v3] Change center & zoom on-the-fly

2012-01-17 Thread Bill Whitacre
A few years back I made a map with the help of the book "Beginning Google Maps Applications with PHP and AJAX", Mike Williams and some luck. The map has a header with areas of the world and a sidebar showing systems in that area of the world. What I'd like to

[Google Maps API v3] Re: 2011/11/7 - New Release (3.7) - editable shapes, DrawingManager, and more

2012-01-17 Thread rtp
Hope this makes sense: when in editable mode on a feature such as a polyline and you move one of the "translucent" nodes to insert a new node, and then you click the "undo" icon that shows up next to it to put the polyline back to how it was before you moved the "translucent" node, is there an

[Google Maps API v3] Custom Markers for Directions Output (not in map)

2012-01-17 Thread Jason
I am able to get custom markers to display in the map for driving directions, but not in the actual driving directions output. Any examples floating around for this? thanks -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To po

[Google Maps API v3] API key not working for duplicated site

2012-01-17 Thread Troy
Our website www.bestofNuevoVallarta.com was duplicated from www.bestofBucerias.com - maybe not the best idea looking back but we are having troubles getting the API key to display our google maps properly? We also wouuld like to find a way to use google maps in our maps section for the surrounding

[Google Maps API v3] Re: Google Maps API marker image not visible on mobile device when below 55px

2012-01-17 Thread Beatriz Gonzalez
Hi, did you try using sprites? map.options.markerOptions.image.bmw.normal = new google.maps.MarkerImage( '/common/img/app/metropolis/mobile/dn-sprites.png', new google.maps.Size(18,30), null, null, new google.maps.Point(0,0) ); * for nokia/symbian the 2 "null, null," are important

Re: [Google Maps API v3] Why are my KML markers not loading?

2012-01-17 Thread Fam Kosterman
Hello I'm also looking for a way to load this file 2012/1/17 Niklas Rosencrantz : > Hello > My KML markers used to load just fine but now all that displays on my map is > water zoomed in at highest detail. How should I fix this? The address to my > map is http://www.koolbusiness.com/ and the addr

[Google Maps API v3] Re: Markerimage scaledSize first view problem

2012-01-17 Thread Rossko
> Do you have a working sample of this ? No, but there are hundreds out there. It's not a map issue. http://www.google.com/search?q=javascript+image+onload -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group,

[Google Maps API v3] Adding markers from XML

2012-01-17 Thread Fam Kosterman
At first i created a map with google map with a lot of markers. I created this map in Google maps as my places Now i want to continue with the API but this map is good for maintance i can easily find the locations and mark them Now i exported all markers to an XML file How can i import them wit

[Google Maps API v3] Re: Markerimage scaledSize first view problem

2012-01-17 Thread pec76
Sh#t the link is dead : http://gil.davis.home.att.net/openit_example.htm Do you have a working sample of this ? On 17 jan, 21:20, Rossko wrote: > >         var icone = "http://www.site.com/image_xyz.jpg"; > ... > >         var ih=ti.height; > >         var iw=ti.width; > > If the image is in ca

[Google Maps API v3] Re: Markerimage scaledSize first view problem

2012-01-17 Thread Rossko
>         var icone = "http://www.site.com/image_xyz.jpg"; ... >         var ih=ti.height; >         var iw=ti.width; If the image is in cache, this will work (e.g. on page refresh) If the image is not yet downloaded (on first view) it won't work. You'll need a different strategy, waiting for im

[Google Maps API v3] Re: Markerimage scaledSize first view problem

2012-01-17 Thread pec76
There is the link : http://www.myjoom.com/index.php?Itemid=188&option=com_geocode_factory&view=mapcb&idMap=5 On 17 jan, 19:28, Rossko wrote: > > At first load the image are shown in 'normal' size (1:1), and are not > > resized. > > After if I refresh the page, the images are perfect resized. > >

[Google Maps API v3] Re: Why are my KML markers not loading?

2012-01-17 Thread Rossko
> the JS should be loading is http://www.koolbusiness.com/list.kml You can confidence-test your KML by pasting its URL in the maps.google.com search box. Didn't work for me first time, says 'not found'. Worked some minutes later - many default blue placemarkers throughout the world. Google's KML

[Google Maps API v3] Re: Markerimage scaledSize first view problem

2012-01-17 Thread Rossko
> At first load the image are shown in 'normal' size (1:1), and are not > resized. > After if I refresh the page, the images are perfect resized. Cannot reproduce your problem ; cannot refresh your page ; cannot see your page. Link to your demo? -- You received this message because you are subsc

[Google Maps API v3] Re: changing map overlay to V3 from V2

2012-01-17 Thread justawebbie
Is there anyone out there willing to give me a hand I have read and dug around for weeks now on this problem. I am just so new to all this and I have made a confusing mess it seems. Thank you in advance for any help or directions you give me on solving my problems describe above. -- You rece

[Google Maps API v3] KML styleurl's intermittently working / not working when displaying kml using Google maps

2012-01-17 Thread Paulweb
I've an intermittent problem where the styleurl's in my kml document i display using Google maps are sometimes ignored (all markers come out as standard blue) and sometimes respected correctly. Bizarrely sometimes they work and don't work on the same screen - certain tiles of Googlemap will sho

[Google Maps API v3] Re: Usage Limits

2012-01-17 Thread Eric Harris
Never mind. After messing around in the console a bit more, I came to find exactly what I was looking for. Thank you. -- Eric On Jan 17, 9:16 am, Eric Harris wrote: > I totally agree. However, I am unsure if doing so pulls from the same > usage limit or if it creates a usage limit for each proj

[Google Maps API v3] Re: Usage Limits

2012-01-17 Thread Eric Harris
I totally agree. However, I am unsure if doing so pulls from the same usage limit or if it creates a usage limit for each project? -- Eric On Jan 16, 8:03 pm, Luke Mahé wrote: > For this use case it sounds like you want to create two projects in the API > console and then have a separate key for

[Google Maps API v3] Re: Geocode Viewport - Louisiana Incorrect

2012-01-17 Thread Brian Bokor
Yes Larry, I was looking for my post to put that the coord coming back to me are incorrect. Here was the viewport coords "sw"=>"-89.559568,-36.598149", "ne"=>"89.860418,-147.6919" which aren't correct. Do you know how to submit a problem for this? On Jan 17, 4:48 am, "geocode...@gmail.com"

[Google Maps API v3] Why are my KML markers not loading?

2012-01-17 Thread Niklas Rosencrantz
Hello My KML markers used to load just fine but now all that displays on my map is water zoomed in at highest detail. How should I fix this? The address to my map is http://www.koolbusiness.com/ and the address to my KML file that the JS should be loading is http://www.koolbusiness.com/list.kml

[Google Maps API v3] Markerimage scaledSize first view problem

2012-01-17 Thread pec76
Hello, My goal is to load custom images as marker icon, and resize them (the images are different). Code : var icone = "http://www.site.com/image_xyz.jpg"; var scale = 0.33 ; // create a js image object var ti=new Image(); ti.src=icone; // get cu

[Google Maps API v3] Re: get selected marker ID

2012-01-17 Thread Rossko
> In my web application there are number of marker . Is there any way to > set unique id of marker so that I can get selected marker ID. Previous discussion, from a search for "marker ID" http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/6b4c91722f39087e/2e3bc08c01768ba4 -

[Google Maps API v3] Re: Problem with listener map, marker and markerClusterer,

2012-01-17 Thread Rossko
> If I take the clicklistener outside the click map event, I get a error > in main.js ("a is null"). It is breaking on var infoWindow = new google.maps.InfoWindow; InfoWindow() perhaps? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API

[Google Maps API v3] Re: Geocode Viewport - Louisiana Incorrect

2012-01-17 Thread geocode...@gmail.com
On Jan 16, 8:43 pm, Brian Bokor wrote: > When I geocode LA or Louisiana, I get an object back from Google that > have Louisiana, USA in it.  It has a viewport but doesn't display on > the map like any other state.  It seems to have some issue with it. > Thoughts? Looks lie the entry in the geocod

[Google Maps API v3] Re: Geocode Viewport - Louisiana Incorrect

2012-01-17 Thread Rossko
> Thoughts? Can we have a clue, or perhaps a demo? "some issue" is a little vague, even for guessing. -- 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.