Re: [Google Maps API v3] Multiple Marker with Categories and Types

2011-12-10 Thread Andrew Leach
On 10 December 2011 20:39, Kishanth Mehra wrote: > We can see the Grand Hotel De Rozza has a place to eat (Restaurant). It has > also a Swimmingpool and you can stay there for few nights. But it hasn't got > a Pub! > So when I check the Restaurant category "McDonalds" and "Grand Hotel De > Rozza"

[Google Maps API v3] Re: Centering, Display Issues (New to Forum)

2011-12-10 Thread Chad Killingsworth
For 1: This may actually be related to issue number 2. Fix it first. For 2: When you change the visibility of the map, you need to trigger the map resize event: http://code.google.com/apis/maps/documentation/javascript/reference.html#Map Also, I'm getting a couple of non-map related script e

[Google Maps API v3] Re: mapTypeId is undefined

2011-12-10 Thread Marcelo
On Dec 10, 2:11 pm, rly_sn wrote: > I am new to google maps and when I try and load my map I only get a > gray screen.  When I get the following error and I dont know why > > google.maps.MapTypeId is undefined > http://roadrunner.cs.wcupa.edu/~sr640468/project/map2.php > Line 23 Your V3 map loads

[Google Maps API v3] Re: mapTypeId is undefined

2011-12-10 Thread Chad Killingsworth
I'm not seeing any script errors from you page in IE, FF or Chrome. On Saturday, December 10, 2011 3:11:05 PM UTC-6, rly_sn wrote: > > I am new to google maps and when I try and load my map I only get a > gray screen. When I get the following error and I dont know why > > google.maps.MapTypeId is

[Google Maps API v3] How can I get Google maps navigation buttons into my imbedded map?

2011-12-10 Thread john.har...@tcu.edu
When I pull up the "my map" directly off the web on my iPhone there is a nifty navigation bulls eye button that will give me directions to getting from my current location to the lat and long of one of the push pins I have created. However, the imbedded version of my map does not offer that for my

[Google Maps API v3] Multiple Marker with Categories and Types

2011-12-10 Thread Kishanth Mehra
I'd like to create a map with multiple categories. Like this example. LINK I cannot use json. I must use XML, like the example before. My question is, it is possible to have multiple marker with categories wich have diffrent values. *For

[Google Maps API v3] mapTypeId is undefined

2011-12-10 Thread rly_sn
I am new to google maps and when I try and load my map I only get a gray screen. When I get the following error and I dont know why google.maps.MapTypeId is undefined http://roadrunner.cs.wcupa.edu/~sr640468/project/map2.php Line 23 here my code http://maps.google.com/maps? file=api&v=2&sens

[Google Maps API v3] Re: Detect when the streetview pegman has been dropped onto the map

2011-12-10 Thread spiderplant0
..also in case theres any confusion, when I said to "pan the streetView". I really mean clciking on the big arrow symbols that move street view along the road. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this grou

[Google Maps API v3] Re: Detect when the streetview pegman has been dropped onto the map

2011-12-10 Thread spiderplant0
oops wrong fiddle link. try this one http://jsfiddle.net/spiderplant0/fubNj/7/ -- 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

[Google Maps API v3] Re: Detect when the streetview pegman has been dropped onto the map

2011-12-10 Thread spiderplant0
Thanks for the code suggestion Marcelo, it doesnt deal with the issue of firing at initialisation (page load) etc. By drop I mean the initial drop from his parking place onto the map or lift him up and drop again. "visibile_changed" (at least on its own) is really not up to it - if you have a play

[Google Maps API v3] Re: KML file is not loading

2011-12-10 Thread geocode...@gmail.com
On Dec 9, 8:21 am, Bernie wrote: > Hi, > > I try to load a KLM file with the german county borders into my map. > Somehow it seems the KML file doesnt load at all. > So I tried it with a very basic KML file and its still not working, > when I type in the URL of the KML file in the browser and open

Re: [Google Maps API v3] Page speed tips from YSlow and Google Page Speed when using Google maps

2011-12-10 Thread Jeremy Geerdes
The rules in YSlow and PageSpeed are general rules. I imagine that, if the developers were to incorporate logic for every known, appropriate exception, even on their own sites and services, the project would be untenable in terms of manpower, let alone code and performance. The point of these to

[Google Maps API v3] Re: Links from KML file opening new tab / browser window

2011-12-10 Thread Chad Killingsworth
You can't override this, but you can implement your own info window handling and replace the attribute. Here's a snippet of code demonstrating the solution: http://people.missouristate.edu/chadkillingsworth/mapsexamples/removekmllinktargets.js -- You received this message because you are subsc

[Google Maps API v3] Page speed tips from YSlow and Google Page Speed when using Google maps

2011-12-10 Thread Niklas Rosencrantz
When running tools like YSlow and Google's Page Speed it comes with suggestions based solely on the fact that google maps is used ie "The following resources are missing a cache validator. Resources that do not specify a cache validator cannot be refreshed efficiently. Specify a Last-Modified o

Re: [Google Maps API v3] Re: Custom Icons Problem

2011-12-10 Thread IR HM
Larry, I've got it, finally ! Thank you so much for your time and, patience. Kind regards Chris On 10 December 2011 15:32, geocode...@gmail.com wrote: > On Dec 10, 7:20 am, IR HM wrote: > > Hi Larry, forgive me for not grasping this particulalry well. > > > > But isn't this line 'function cre

[Google Maps API v3] Re: Custom Icons Problem

2011-12-10 Thread geocode...@gmail.com
On Dec 10, 7:20 am, IR HM wrote: > Hi Larry, forgive me for not grasping this particulalry well. > > But isn't this line 'function createMarker2(latlng, sitedescription, > sitetype) {' setting the arguments, which I then use here? Yes. But look at the place in your code where you _call_ the func

Re: [Google Maps API v3] Re: Custom Icons Problem

2011-12-10 Thread IR HM
Hi Larry, forgive me for not grasping this particulalry well. But isn't this line 'function createMarker2(latlng, sitedescription, sitetype) {' setting the arguments, which I then use here? var html2 = "" + sitedescription + " "; var icon = customIcons[sitetype] || {}; var marker2 = new google.ma

[Google Maps API v3] Re: Detect when the streetview pegman has been dropped onto the map

2011-12-10 Thread Pil
On Dec 10, 3:22 pm, Marcelo wrote: > var G = google.maps; // global > // Sorry, I can't be bothered typing "google.maps." every time. ;-) I wouldn't say this is laziness, it's good practice - as long as it is not global. -- You received this message because you are subscribed to the Google

[Google Maps API v3] Re: Detect when the streetview pegman has been dropped onto the map

2011-12-10 Thread Marcelo
I should add to the above code: var G = google.maps; // global // Sorry, I can't be bothered typing "google.maps." every time. ;-) -- Marcelo - http://maps.forum.nu -- On Dec 10, 7:17 am, Marcelo wrote: > What is your definition of "the pegman has been dropped onto the > map"? > When the use

[Google Maps API v3] Re: Detect when the streetview pegman has been dropped onto the map

2011-12-10 Thread Marcelo
What is your definition of "the pegman has been dropped onto the map"? When the user moves the pegman from one position to another, it is also "dropped on the map", but does that count, or is it only the first drop that you're looking for? If visible_changed doesn't suit your purposes then perhaps

[Google Maps API v3] Re: Detect when the streetview pegman has been dropped onto the map

2011-12-10 Thread spiderplant0
Here's a fork of the code I'm using to prototype... jsfiddle.net/spiderplant0/fubNj/ This should help you understand the issues with visibility_changed etc. The question is pretty simple: Detect if, and only if, the pegman has been dropped onto the map. Thanks. -- You received this message becaus

Re: [Google Maps API v3] Re: Geocoding API returning different result than default Google Maps results

2011-12-10 Thread Andrew Leach
On 9 December 2011 22:20, Dave wrote: > But it still doesn't explain why the geocoder returns a result > that's different than Google Maps returns. I'd be very interested to > find out why that difference exists. This Question is Frequently Asked. http://code.google.com/apis/maps/faq.html#geocode

Re: [Google Maps API v3] Geocoding Problem

2011-12-10 Thread Andrew Leach
On 9 December 2011 22:10, Dave wrote: > > Any help is appreciated. Google are looking into it. You could star this issue: http://code.google.com/p/gmaps-api-issues/issues/detail?id=3717 -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3"