We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Geocoding

Development and Programming

Shane Robinson's avatar
Shane Robinson
55 posts
16 years ago
Shane Robinson's avatar Shane Robinson

D’oh! Thanks for the pointer to the top of the thread.

I’ll install 1.0.2 and experiment later today or ASAP. I have over 1,100 entries to import from a FileMaker database into an EE project we’re trying to get launched this week. That’s the main reason I haven’t been able to get back to this for a few days.

I’ll let you know how it goes.

Thanks again for your attention.

       
Shane Robinson's avatar
Shane Robinson
55 posts
16 years ago
Shane Robinson's avatar Shane Robinson

Aloha Mark,

As promised, posting back here to let you and everyone know IT WORKS and ROCKS!!

Thank you so much for the updated extension and your help.

Donation is already on the way.

Aloha and Happy Holidaze!

       
Shane Robinson's avatar
Shane Robinson
55 posts
16 years ago
Shane Robinson's avatar Shane Robinson

Weeeellll…. Few problems after all but I don’t think it’s the plugin:

Using a Thickbox iFrame to display the map when a link is clicked:

1) Firefox on both Mac and PC and IE7 won’t show the pin. Safari works fine.

2) Firefox on both Mac and PC and IE7 won’t show the correct map. Safari works fine.

3) On the map, clicking the “Return to the last result” button in the middle of all the out pointing arrows takes you back to the default location entered into the Extension settings.

3 is somehow related to the extension. But 1 and 2 are possibly a problem with prototype.js or Thickbox.

I’m not having a problem with Prototype and can display a map and pin in FF and IE within a template. I was trying to use the map output in a Thickbox iFrame and it is well documented, I found, that Thickbox isn’t working with the Google Map API in FF and IE.

For now I guess we just display the maps in the template.

If anyone trips across a fix or a fix becomes available, would be great if they post it back here. I’ll do the same.

       
chronistin's avatar
chronistin
104 posts
16 years ago
chronistin's avatar chronistin

Great stuff! I was just starting to create a complicated weblog setup with latitude and longitude and trying to put it out as a map in the templates, when I stumbled upon this extension. Thanks so much! Donation is on it’s way. 😊

I’m new to this whole google map stuff, and one of the things I want to achieve is to show different locations (i.e. different weblog entries) in one big map. Shouldn’t be too hard, the possibilities are all in there - I just need a pointer to get me started. Anyone know of a more concise documentation than the google api blog?

       
Hop Studios's avatar
Hop Studios
460 posts
16 years ago
Hop Studios's avatar Hop Studios

Mark,

Have you considered storing the “zoom” of each point at the time that the click is made?

TTFN Travis

       
Mark Huot's avatar
Mark Huot
587 posts
16 years ago
Mark Huot's avatar Mark Huot

Hum, yes that would make sense to store the zoom.

       
laurentsj's avatar
laurentsj
23 posts
16 years ago
laurentsj's avatar laurentsj

THis sounds fabulous.

Any chance of a working demo/site somewhere?

       
Brian M.'s avatar
Brian M.
529 posts
16 years ago
Brian M.'s avatar Brian M.

This has got to be the coolest extension on the planet. Great job!

       
Brian M.'s avatar
Brian M.
529 posts
16 years ago
Brian M.'s avatar Brian M.

Mark how can I have a marker automatically placed on the map (in the center) by default? Is that easy to hack in?

EDIT: oh and for people who build sites on dev boxes and then deploy, you can get a google map API that works for ‘localhost’ or a specific IP address - figured I’d mention it…

       
Mark Huot's avatar
Mark Huot
587 posts
16 years ago
Mark Huot's avatar Mark Huot

where would the center be? where the settings default to? i’m not sure i entirely understand what you’re trying to accomplish.

       
Brian M.'s avatar
Brian M.
529 posts
16 years ago
Brian M.'s avatar Brian M.

Oh yeah I guess it’s not as cut and dry as I was thinking. What I would like is for there to be a marker automatically placed in the center of the map after a location is set in the text field. This is going to be used for adding all kinds of events that a company is hosting, as well as a bunch of other ‘member’ events. So the actual location on a map isn’t necessarily known, but the physical address (text) is. If the marker could be placed automatically it would be best otherwise you’re just guessing where the center is and hoping you have it correct on the map when you click to add the marker.

One other idea which would be really cool: can you use this in a SAEF?

       
Mark Huot's avatar
Mark Huot
587 posts
16 years ago
Mark Huot's avatar Mark Huot

The functionality should be that as you type the map zooms to the location. Then when you press return the pin is placed in the center of the map. Is this not happening for you?

       
Brian M.'s avatar
Brian M.
529 posts
16 years ago
Brian M.'s avatar Brian M.

I didn’t realize you could hit return - I usually try to avoid that when I’m not in a textarea because many times it will submit the form. Thanks Mark! BTW you’re my hero - sending a donation now.

       
Mark Huot's avatar
Mark Huot
587 posts
16 years ago
Mark Huot's avatar Mark Huot

hum…I wonder if there would be a better way to present this then? I’ll have to look into a different interface, because you’re not the first person to have this problem.

       
Brian M.'s avatar
Brian M.
529 posts
16 years ago
Brian M.'s avatar Brian M.

What makes sense to me is that when the google map first figures out the location (the map jumps) it places a marker automatically at that point. If you click to create a new marker or move the auto-generated one, it becomes permanent (or if you move on). If you type a new address and haven’t moved the initial marker, it would remove that one and place a new one when it first resolves that new address. That sounds difficult to me, but I think it makes sense from a UI perspective.

It’s not the same issue, but one cool thing would be if you could use this field and get the geocode location and also retain the text as well. For instance right now I’ve got 2 location fields in a weblog - one for the textual address, and one for the geocode. The client will end up having to type (cut and paste) in the address twice for each entry. I was thinking you could do this by finding the lat and long at runtime, but that could be problematic if the google can’t resolve the address properly.

Anyway - just a thought. I still vote it the coolest extension in existence :D

       
1 2 3 4 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.