Actuall i want to create a page in which a user clicks on the map a
marker will be created and the user will be given a infowindow...Now i
want to implement a page in which he will save what kind of marker was
dat?
Unless he clicks on the save button or cancel.He wont be able to click
on the map...
How often will I still be directed to the top of the first basic
introduction page?! That won't help more the tenth time.
--
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
Haven't had a chance to test this - but try changing
var value = $(this).html();
to
var value = $(this).text();
I have the feeling that iOS is recognising the numbers and adding some
markup around them (used for calling phone from Mobile Safari)
To verify my hunch - alert($(this).html());
Chris
On Fri, Feb 25, 2011 at 5:04 AM, Yves wrote:
> Here's my code: (just one example out of many)
>
> String.prototype.trim = function (c) { return
> this.trimStart(c).trimEnd(c); };
>
I don't think this code breaks the Maps API.
I personally wouldn't recommend modifying prototypes of any built in
I am not a developer/coder so apologies:
I am in the business of buying real estate. I would like to integrate
a google map on my webpage where potential land sellers can choose a
location and the exact Geo coordinate of that location can be either
copied into a text box (on the same webpage)/emai
What was "too long"? Fusion Tables layers should load relatively quickly.
Regards,
James
On Fri, Feb 25, 2011 at 1:55 PM, Tom wrote:
>
>
> On Feb 25, 12:33 pm, Rossko wrote:
>> > So basically What i need to know is which is the best way of creating
>> > overlays? e.g. data or tiles
>> > and if
Hi
google map v3 maps and satellite maps of China's problems can not be
coincidence?
May I ask how this problem should be resolved!
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
On Feb 25, 12:33 pm, Rossko wrote:
> > So basically What i need to know is which is the best way of creating
> > overlays? e.g. data or tiles
> > and if tiles how do i find out which area the user has clicked?
>
> Have you looked into presenting your data as KML and using KmlLayer?
> Google's se
Yes - that is what causes the slowness we refer to above.
On Feb 25, 2011 12:39 PM, "Martin™" wrote:
> Instead of testing to see if an object property is a function you
> could use the hasOwnProperty() method:
>
>
http://www.google.co.uk/search?x=0&y=0&q=javascript+hasownproperty&ie=UTF-8&oe=UTF-8
Instead of testing to see if an object property is a function you
could use the hasOwnProperty() method:
http://www.google.co.uk/search?x=0&y=0&q=javascript+hasownproperty&ie=UTF-8&oe=UTF-8
Martin.
On Feb 24, 6:04 pm, Yves wrote:
> On 24 Feb., 18:32, Michael Geary wrote:
>
> > I also wish the
selectedIndex value of the left select element never reaches 8.
Possible values are 0...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 unsubscrib
> So basically What i need to know is which is the best way of creating
> overlays? e.g. data or tiles
> and if tiles how do i find out which area the user has clicked?
Have you looked into presenting your data as KML and using KmlLayer?
Google's servers perform the donkey work of rendering your p
> All i want is some one to show me the code and tell me how to do it or
> make changes and high light them for me. I have been trying for 3 days now.
People here tend not to write code for you, its a place for developers
to help each other.
Not sure what you've been trying, no sign of it in your
Hi everyone,
I am trying to recreate a map like this
http://www.doctorconnect.gov.au/internet/otd/Publishing.nsf/Content/locator
using API v3 instead of v2.
I have done a lot of research about the most efficient way to create
an overlay. I tried using fusion tables to create a polygon overlay,
wh
Can't seem to get panToBounds working:
http://mercypodcast.webs.com/panToBounds.html
If I set it to respond to just the first dropdown menu selectedIndex
it works fine.
In the example given, it is meant to come into play only when
selectedIndex for both dropdown menus matches certain conditions:
On Feb 24, 5:42 pm, Christopher Watson
wrote:
> thanks for the really good links etc larry, but i feel like i'm tumbling
> down a hole.
>
> i'm trying to test your
http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linktoB.htm...
>
> on my own server, but where, how did you turn my kml
> l
I suspect that iPad doesn't parse LatLng or zoom for some unknown
reason.
The debugging tools for iPad are quite limited so far. You could try
reading the values by alert()
alert(map.getZoom());
alert(map.getCenter().toUrlValue());
I have a Firebug Lite bookmarklet on my iPad but that cannot acc
thanks for the really good links etc larry, but i feel like i'm tumbling
down a hole.
i'm trying to test your
http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linktoB.html?filename=visualisationmagazine_com_lacreativemap_kml.xml
on my own server, but where, how did you turn my kml lin
thanks for the really good links etc larry, but i feel like i'm tumbling
down a hole.
i'm trying to test your
http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linktoB.html?filename=visualisationmagazine_com_lacreativemap_kml.xml
on my own server, but where, how did you turn my kml lin
On Feb 24, 5:14 pm, Michael Geary wrote:
> On Feb 24, 3:49 pm, Michael Geary wrote:
>
>
>
> > > Of course you're right that *in general* it's better to post a link. But
> > > could we all please not be so trigger-happy on these "read the posting
> > > guidelines" replies? In this specific case, a
I think you can find a solution with Yahoo Pipes feed processor.
http://pipes.yahoo.com/pipes/
--
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 unsu
On Feb 24, 5:04 pm, VelkyKorys wrote:
> I am trying to do the same but I still cannot see the data in the KML file.
> I have a set of polylines in My Maps which I would like to be able to work
> with using API. I have exported the map to Google Earth and then to KML. So
> what shoud I do now?
You
On Feb 24, 3:49 pm, Michael Geary wrote:
> >
> > Of course you're right that *in general* it's better to post a link. But
> > could we all please not be so trigger-happy on these "read the posting
> > guidelines" replies? In this specific case, a few seconds' glance at the
> > posted code was all
On Feb 24, 4:50 pm, gilles wrote:
> I don't know why but the javascript code in a infowindow is executed
> twice.
>
> Does anybody know a workaround for this problem ?
Michael presented you a workaround, but about your first question, why
is the code execute twice?
I think it is because how
I am trying to do the same but I still cannot see the data in the KML file.
I have a set of polylines in My Maps which I would like to be able to work
with using API. I have exported the map to Google Earth and then to KML. So
what shoud I do now?
--
You received this message because you are s
Yes, you must watch out for cross-site scripting (XSS) attacks. This is when
a malicious user injects script into your info window (or other) content,
for example to steal the viewer's cookie. The solution is to ensure you
HTML-escape user input at the point of constructing your info window HTML.
On Feb 24, 3:49 pm, Michael Geary wrote:
> On Thu, Feb 24, 2011 at 11:33 AM, geocode...@gmail.com
> > wrote:
>
> > Have you read the posting guidelines?
> > READ THIS FIRST: Posting Guidelines
> >http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e
>
> > Code is not helpful, a
The & part splits them into individual markers so temp[0] would be:
"3.14, -1.2" for example
the second split then leaves the first number as the lat, and the
second number as a lng, although it should have one leading space.
Again, I read that this is no issue for parseFloat to work.
Apo
On Thu, Feb 24, 2011 at 12:49 PM, Michael Geary wrote:
> If that doesn't point you toward a solution, describe what you're trying to
> do in a bit more detail and we can kick it aroun.
>
Yes, I do know how to spel better than that! :-)
--
You received this message because you are subscribed to
On Thu, Feb 24, 2011 at 11:33 AM, geocode...@gmail.com wrote:
>
> Have you read the posting guidelines?
> READ THIS FIRST: Posting Guidelines
> http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e
>
> Code is not helpful, a web page is.
>
...except when the code *is* helpful.
I have a site where I want to open a link in a new window instead of showing
an infowindow when a marker is clicked. The code used shown below works
perfectly in Firefox/Chrome, but in Internet Explorer the new window is
opened behind the original window. It looks like something happens on the
On Feb 24, 9:50 am, gilles wrote:
> Hello,
>
> I don't know why but the javascript code in a infowindow is executed
> twice.
>
> Does anybody know a workaround for this problem ?
>
> Here is my code :
>
Have you read the posting guidelines?
READ THIS FIRST: Posting Guidelines
http://groups.google
On Feb 24, 8:14 am, Seb wrote:
> Hello,
>
> I use the api v3 and DirectionsRenderer for display the directions on
> a website.
> It work fine but I would like to change the icon by default in the
> panel with the directions step.
> I don't find the method for change this. I don't know if it's
> po
Hello!
I'm quite new to this, but anyhow...I'll try to make it as clear as
possible!
What I'm trying to do is, to use a feed I have created manually via a
service (like feed43.com) -that shows the title of a movie playing in
a movie theater- and display that on a marker. I have also created a
GeoR
The following link works fine on Chrome, FF, and Safari (on Mac not
tested Safari on PC), but doesn't centre the map in the right place on
ipad. Does anyone have any ideas?
http://www.deltaintech.com/contact-us/locations-2.aspx
--
You received this message because you are subscribed to the Goog
Hello,
I don't know why but the javascript code in a infowindow is executed
twice.
Does anybody know a workaround for this problem ?
Here is my code :
HTML :
html { height: 100% }
body { height: 100%; margin: 0px; padding: 0px }
#map_canvas { height: 100% }
http://
Hello,
I use the api v3 and DirectionsRenderer for display the directions on
a website.
It work fine but I would like to change the icon by default in the
panel with the directions step.
I don't find the method for change this. I don't know if it's
possible.
Does somebody have an idea ?
Best reg
Im having some trouble building a simple test app.
My behavior:
1. The user place a marker on a map, either manually or via a simple
geocoder text field
2. I do a geocode request sending the marker latLng
3. I filter the results taking only the items having type 'locality'
or 'sublocality'.
4. I
Hi,can you give me a hand?I want to make a page which allows users to
add marker by themselves. It is like the "My Map" of Google Maps, when
users click the "hand" button, it creates a dragable icon and becomes
a marker when users click on the map? It is the best for me that you
can give me the cod
On Feb 24, 12:46 pm, Kevin B wrote:
> I'm new to GM V3 and I need a example on how to show multiple kmz files with
> radio buttons to turn the kmz files on or off, and if another one radio
> button is selected the others will turn off.
Did you try searching the group? This has come up before (at
Yes, I have searched the group.
I need an basic hello world source code for GM V3 with a way to add multiple
kmz files (5) with radio buttons to turn thme on or off. Only one kmz
should be shown at one time.
Thanks for your responce,
Kevin
--
You received this message because you are su
On 24 Feb., 18:32, Michael Geary wrote:
> I also wish the language made
> it a reasonable proposition to add Object.prototype methods - and as Ben
> mentioned future versions will - but at the moment it's not very practical
> because of the for..in loop problem.
It would already help a lot if you
I'm new to GM V3 and I need a example on how to show multiple kmz files with
radio buttons to turn the kmz files on or off, and if another one radio
button is selected the others will turn off.
I have an example of this in GM V2, but the check boxes are not setup to
only have one kmz file on a
On Thu, Feb 24, 2011 at 8:49 AM, Michael Geary wrote:
> Look, this horse left the barn years ago. You can make the case all you
> want, but in the end you'll just have to live with the fact that extending
> Object.prototype will break other people's code, so you just can't do it.
>
And I'm sorry
On 24 February 2011 16:42, lucia wrote:
> Hi,
>
> Please check this url to the following static map:
> However, in the resulting map I have an extra marker in the U.S.
I retyped the url and I get four markers in Uruguay. I have no idea
what was going wrong though: taking out the first three marke
There are all kinds of Google map apps that get user input from
somewhere and display that input in an infowindow when a marker is
clicked.
As developers, do we need to be concerned that a malicious person will
provide data to be displayed in an infowindow which will cause
something bad to happen
On Thu, Feb 24, 2011 at 12:26 AM, Yves wrote:
> The Object "class" contains functions anyway, why aren't they
> iterated, too? And if you iterate over *anything* you have to live
> with the results. If you get a variable from an unknown source (which
> is not unusual in browsers' JavaScript) of a
Hi,
Please check this url to the following static map:
http://maps.google.com/maps/api/staticmap?maptype=roadmap&sensor=false&size=630x369&markers=color%3A0x769BC7%7Clabel%3AA|size:mid.png|shadow=false|-34.9000,-54.9500&markers=color%3A0x769BC7%7Clabel%3AB|size:mid.png|shadow=false|-34.3700,-55.22
On 24 February 2011 16:30, LarsM wrote:
>
> So there is no space to make the rightclick to get 'View source'.
>
> Is there any other way to see the code?
Generally there's a menu "View Source" as well. Exactly where that is
in the menu structure depends on the browser of course. In Chrome,
which
There are several ways to do View Source, depending on your browser. First,
go to the page you want, and then in most browsers, look on the View menu
for a View Source item, or in Google Chrome click the wrench and then look
in the Tools sub-menu. Ctrl+U is a shortcut for View Source in some Window
Hi,
I thought that the idea with samples were that you could see the code.
In the Code Samples in the left column here many are displaying a map that
completely covers the web page.
So there is no space to make the rightclick to get 'View source'.
Is there any other way to see t
On Feb 24, 9:48 am, Christopher Watson
wrote:
> How can I see what data is available in the kml, such as the address?
A copy of your kml (geoxml3 is subject to the XmlHttp same-domain
restriction, so I put a copy of it on my server):
http://www.geocodezip.com/geoxml3_test/visualisationmagazine_co
Would I use this 'hook' somehow?
markerOptions
On 24 Feb 2011 14:48, "Christopher Watson"
wrote:
How can I see what data is available in the kml, such as the address?
Is there a list? Documentation to kml and calling using geoxml3?
Is it what's in the item when I view the kml feed? In there a
How can I see what data is available in the kml, such as the address?
Is there a list? Documentation to kml and calling using geoxml3?
Is it what's in the item when I view the kml feed? In there are the lat lng
numbers of the marker, can they convert to a postal address.
Also sounds bad, true no
On Feb 24, 6:52 am, Christopher Watson
wrote:
> Can I display the markers address details too? Underneath each link.
You can do whatever you want. That example is using the third party
kml parser geoxml3:
http://code.google.com/p/geoxml3/
If the information is available in the xml (kml), you ca
On 24 February 2011 13:59, Yves wrote:
> On 24 Feb., 12:48, Chris Broadfoot wrote:
>> If you want to serve pages as XHTML, you need to load the API
>> asynchronously:http://code.google.com/apis/maps/documentation/javascript/basics.html...
>
> I still cannot find any on-topic information on the pa
On 24 Feb., 12:48, Chris Broadfoot wrote:
> If you want to serve pages as XHTML, you need to load the API
> asynchronously:http://code.google.com/apis/maps/documentation/javascript/basics.html...
I still cannot find any on-topic information on the page you refer to.
> I would personally recommen
Thank you! I've learnt a lot from all this.
--
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 email to
google-maps-
Hi folks,
seems that nobody have a smart solution.
Out of this reason I have now created a feature request for this
missing functionality:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3072
If someone else needs this, please starr this issue and Google will
hopefully extend the API
Can I display the markers address details too? Underneath each link.
On 24 Feb 2011 11:38, "Christopher Watson"
wrote:
so the links are underneath my map, alongside other html content i have like
i have here:
http://visualisationmagazine.com/lacreativemap.htm
could i load just the links where
Rossko is absolutely correct.
If you want to serve pages as XHTML, you need to load the API
asynchronously:
http://code.google.com/apis/maps/documentation/javascript/basics.html#Async
I would personally recommend using HTML, not XHTML. Some browsers have
issues with rendering pages with content t
so the links are underneath my map, alongside other html content i have like
i have here:
http://visualisationmagazine.com/lacreativemap.htm
could i load just the links where i want them?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API
hi larry,
yes like that. so that there is a hyperlink and it highlights the pin with
the info window.
can those links on the right of your test:
'You mean something like this?
http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linktoB.html?filename=visualisationmagazine_com_lacreative
The native properties of Object.prototype are 'non-enumerable':
http://stackoverflow.com/questions/262573/list-objects-built-in-properties
With current JS engines it is not possible for you to set new,
non-enumerable properties on Object.prototype, but future versions of
JavaScript support this:
h
On Feb 24, 5:25 am, Christopher Watson
wrote:
> OK, i have fetched a load of markers from a kml feed to display. Can i link
> outside the google map on the same html web page to specific location
> markers in the google map?
>
> so when i click a link on my web page, it highlights/reioreintates to
i everybody
iv read from old post of 2009 the option to (Animate panning and zooming
transitions in capable browsers.)
not working at that time
Is it fix now ??
it would be nice to simulate mousescrolling in the code
Thanks
--
You received this message because you are subscribed to the Google
On Feb 24, 3:26 am, Yves wrote:
> The Object "class" contains functions anyway, why aren't they
> iterated, too? And if you iterate over *anything* you have to live
> with the results. If you get a variable from an unknown source (which
> is not unusual in browsers' JavaScript) of a type you canno
On 24 February 2011 10:13, Sandy wrote:
> It Displays the informatio of the latest marker added.If i want to
> display the previous marker information. How should i do it?
You have fallen into Pitfall Number Three.
You should use a helper function to create your markers:
http://www.geocodezip.co
OK, i have fetched a load of markers from a kml feed to display. Can i link
outside the google map on the same html web page to specific location
markers in the google map?
so when i click a link on my web page, it highlights/reioreintates to show
you a specific pin in the google map, but still
thank you so much for that, one of the threads in the list answered a
question that has been frustrating me for the last few days.
--
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
> I want to know if any method (API CODE) to import kml into google
> earth !
Here is Google Earth documentation
http://www.google.com/intl/en/earth/learn/#utm_source=hc_header&utm_medium=Learn&utm_campaign=guide=22370
and KML support group
http://groups.google.com/group/kml-support?lnk=srg
--
Y
The Object "class" contains functions anyway, why aren't they
iterated, too? And if you iterate over *anything* you have to live
with the results. If you get a variable from an unknown source (which
is not unusual in browsers' JavaScript) of a type you cannot handle,
it's your (here: Google's) faul
On 23 Feb., 23:24, Rossko wrote:
> Disallowed by whom?
Disallowed by the fact that it doesn't work that way. It's
undocumented though.
> If you do want the API loader to avoid use of document.write, you can
> use an alternative loading method as described in the
> docshttp://code.google.com/api
73 matches
Mail list logo