Okay, so I just added polygon support to Dylan's Google Maps plugin.
Take a look at my modified version here:
http://amnautical.com/TimSite/includes/jquery.googlemaps.js
A demo is here:
http://amnautical.com/TimSite/sample.html
I think it's pretty straight-forward.
--
.: Tim Gossett
.: Webdev
On 9/21/06, Tim Gossett [EMAIL PROTECTED] wrote:
Also, how about adding some rectangles and polygons to your plugin?
I'd love to be able to draw a (closed) polygon and fill it with a
background image. Bonus points if I can click anywhere inside the
polygon to pop-up the balloon. I might
I can't think of anything that is semantically remotely correct, and
while the previously mentioned geo micro format is nice, it's not
really what I'm looking for.
Why? What are you missing? geo if very small and usually is to be embedded
in other microformats, like hCard (for people) or
I don't think a casual HTML writer is going to use the geo
microformat. It's small, but you have to write a lot of HTML to
describe a very small piece of information.
Maybe I'll give it a go though, since there's nothing better right
now. Or I'll go with good old CSV.
On 9/22/06, Fil [EMAIL
Dylan Verheul schrieb:
I don't think a casual HTML writer is going to use the geo
microformat. It's small, but you have to write a lot of HTML to
describe a very small piece of information.
I do ;-)
- Klaus
___
jQuery mailing list
You don't count as casual ;-)
On 9/22/06, Klaus Hartl [EMAIL PROTECTED] wrote:
Dylan Verheul schrieb:
I don't think a casual HTML writer is going to use the geo
microformat. It's small, but you have to write a lot of HTML to
describe a very small piece of information.
I do ;-)
-
I don't think a casual HTML writer is going to use the geo
microformat. It's small, but you have to write a lot of HTML to
describe a very small piece of information.
Well it's not *that* complex, and it has strong grounds, based in real-world
examples (at least that's how they're meant
Michael Geary schrieb:
just a little thing: I'd check additionally for existence of
GBrowserIsCompatible just in case the google maps script
is not loaded for whatever reason:
if (GBrowserIsCompatible !GBrowserIsCompatible()) ...
I changed the check to
// If we aren't supported,
Thought I would mention... yesterday we found a bug with JQuery and Google Maps, if the placement of the google maps .js library is wrong it was stopping us hiding a class with jquery. We are going to try and investigate a bit more if we get a chance, but just incase anyone starts experiencing odd
if (!window.GBrowserIsCompatible || !GBrowserIsCompatible()) return
this;
Is also possible?
if ( !(window.GBrowserIsCompatible GBrowserIsCompatible()) )
If you don't say yes my headache gets worse!
Don't get a headache, Klaus, that is fine and reads better too. After all,
!( a b )
OK, no idea if this is what you'relooking for, but I added something:
http://www.dyve.net/jquery?googlemaps
The markers can now be provided in geo microformat. I don't usually do
much XML processing (with or without jQuery), so my methods may be
weird, but it seems to work. The old method (an
@ Dylan Verheul [EMAIL PROTECTED] :
Something like this:
http://www.dyve.net/jquery?googlemaps
This is great Dylan; could be coupled with the geo microformat to give a
generic tool. See http://www.jquery.info/spip.php?article7
-- Fil
___
jQuery
Fil schrieb:
@ Dylan Verheul [EMAIL PROTECTED] :
Something like this:
http://www.dyve.net/jquery?googlemaps
This is great Dylan; could be coupled with the geo microformat to give a
generic tool. See http://www.jquery.info/spip.php?article7
wow, great plugin and great idea with the
Klaus,
I changed the check to
// If we aren't supported, we're done
if (!GBrowserIsCompatible || !GBrowserIsCompatible()) return this;
Thanks for your input.
Dylan
On 9/21/06, Klaus Hartl [EMAIL PROTECTED] wrote:
Fil schrieb:
@ Dylan Verheul [EMAIL PROTECTED] :
Hey Dylan... that's great... So nice what you've done...Im afraid i cant use it here in Brazil, ppl are being kidnaped by guys who get users' infos @ orkut profiles. If i create a portuguese Social Networking i'd be helping these guys... lol
I'l have to way some months =(2006/9/21, Dylan Verheul
On 9/21/06, Tim Gossett [EMAIL PROTECTED] wrote:
You have a bug with your default Lat and Long values.
I was lazy :-) thanks for the heads up, it's better now.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I have a fair amount of Google Maps experience. I wrote something like
what Yehuda describes in PHP.
It's actually not really hard to make in jQuery, but when you
seriously get into Google Maps, you'd probably not have too much need
for a plugin like that.
On 9/19/06, Jörn Zaefferer [EMAIL
The notions is to:1) Not need a server-side language like PHP and2) Let people who don't want to seriously get into Google Maps have a way of creating a simple map-- Yehuda
On 9/20/06, Dylan Verheul [EMAIL PROTECTED] wrote:
I have a fair amount of Google Maps experience. I wrote something likewhat
The notions is to:
1) Not need a server-side language like PHP and
2) Let people who don't want to seriously get into Google Maps have a way
of creating a simple map
Yep, those are good points! I had the idea of a small application that allows
members of a small musician community to add
I'd definitely be interested.BlairOn 9/20/06, Wil Stuckey [EMAIL PROTECTED] wrote:
Yes. I have thought about making something similar. Although, I don't have much experience with the gMaps API.
-WilOn 9/19/06, Yehuda Katz
[EMAIL PROTECTED] wrote:
Is there any interest in a Google Maps plugin,
20 matches
Mail list logo