Sorry if this has been covered, but I couldn’t read every post in this thread.
Here sometime soon, I’ll be needing the ability to add a custom field to a weblog which will hold an address. With this extension, can I output a Google map based upon the address in the custom field so it will flag that address on the map?
I just ran into a little trouble: with GeoCoordinates installed the Edit Categories link in the Publish form disappears. Anyone else experience this? Or could it be a combination of other factors and/or installed extensions?
Sorry if this has been covered, but I couldn’t read every post in this thread. Here sometime soon, I’ll be needing the ability to add a custom field to a weblog which will hold an address. With this extension, can I output a Google map based upon the address in the custom field so it will flag that address on the map?
I get a text field on mine and it almost works but not quite. My address here centers on the ocean and not my house!
Nearly there!
Ah, ok. Maybe I’m confused altogether then on what this add-on does. I was thinking this was something I could use in full entry template and it would output a map based on an address which was located in a custom field. I wasn’t aware this put a map inside the publish page…
Or does it do both?
Thanks
I think the idea is that you stick a pin in the location. The map helps you do that. It also outputs a map on the template too based on the location you selected for that entry.
Got ya
What I want is something that can return a map based on some custom address field contents.
Yes, this is what I’m after too! 😊 This is what I was hoping the geocoding add-on did.
Just a quick question on map extensions. There are two out, this one and Livelook. They are both a tad problematical yet.
I did a template where it takes the address value from a custom field in the entry, and gets the lat/lng from google as a php variable, then using that it updates the lat/lng custom fields in the database.
Added a link to the top of the control panel “geocode”. When doing a page for a map, the client writes the article as usual, adds the address in the address field and saves the entry. Then click on geocode which opens that template and it does the magic and says, “All done, database updated for “entryname”, and the lat/lng fields are filled in automatically.
I thought an extension may/would be better, just wonder if there are too many inherent problems…this way one has the address and coordinates in db and custom fields and can do whatever wanted.
I’d like to create a link to google maps or maybe use some lightbox script. I understand that in need to pass all the necessary parameters to the script or google maps window. what I was wondering whether there is a way to use thisbut also get the zoom and maybe user api code.{office_location_raw} {latitude}, {longitude} {/office_location_raw}
I agree - I need this as well. I really need to get the zoom out of the custom field. Is there a quick addition I can make to the file so that I can simply return the {zoom} in addition to {latitude} and {longitude}? The API code would be a bonus, but I think the zoom is essential for what I’m trying to do.
Having a {sarcasm}wonderful time{/sarcasm} trying to get a google map to work in a Thickbox iframe - or any other initially hidden window/div/element. It’s darn near impossible, but I’ve seen a couple working examples and I don’t think I can make it happen with the default code this extension spits out - so I need to go raw. Thanks.
Have you ever tried getting a google map to show correctly in an element that is initially hidden (whether div, thickbox, hidden tab, whatever) or initially has no ‘size’? If not, I hope you have plenty of hair, because you’re going to pull out a lot of it. Basically the map won’t recenter correctly so much or all of it will be gray, and points won’t be drawn…I’m running into all of it.
Working on a real estate site and we wanted the map initially hidden. First in a tab, then I tried a simple slideToggle (I’m using jquery) and now I’m trying Thickbox iframe becaues I found one working example out there I thought I could mimic, but the way the Geocoding outputs the code isn’t helping me mimic what works at this point.
By the way, if you have tried this, and gotten it to work, I would love to hear how.
(If this conversation continues, we should probably go to PM or a new thread, unless it involves getting the zoom out of the _raw tags)
(Attached is a sample pic from FF/Mac)
UPDATE: Looks like I had to use an older version of Thickbox (2.0) to get it working. I was using the latest (3.1).
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.