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

SL Google Map Field Type : Google Maps in your CP, SAEFs, and EE templates : Now with map types in the CP

Development and Programming

dvdconsulting's avatar
dvdconsulting
55 posts
16 years ago
dvdconsulting's avatar dvdconsulting

nevermind. I fixed it. (this may have been referenced in a prior post….) but in order to get the map to display, I HAD to set a div in my CSS and reference that div in the ID of my map pair. Now it displays beautifully!!

All I need now is a driving directions link. 😊

       
Todd D.'s avatar
Todd D.
460 posts
16 years ago
Todd D.'s avatar Todd D.
nevermind. I fixed it. (this may have been referenced in a prior post….) but in order to get the map to display, I HAD to set a div in my CSS and reference that div in the ID of my map pair. Now it displays beautifully!!

Any chance you could display a bit of code of where you placed the div. I think I am having similar problems.

       
dvdconsulting's avatar
dvdconsulting
55 posts
16 years ago
dvdconsulting's avatar dvdconsulting

Here is the CSS Code:

#map
{
height: 250px;
width: 280px;
border: 1px solid black;
text-align: center;
}

And here is my actual template code:

{maplink id="map" controls="zoom|map_type" map="click_zoom|scroll_zoom" pin="center"}
{map}No map could be displayed{/map}
{/maplink}

maplink is the name of my custom field.

What fixed it was this:

id="map"

note that “map” in the pair matches the id of the css div.

HTH. Vee

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

Hi Vee,

Looks like you beat me to it… my first question was going to be whether you were specifying a size for the containing DIV. This seems to be tripping a few people up, so I’ve made a note to update the docs.

Anyway, glad you got it sorted.

Cheers, Stephen

       
RevaCo's avatar
RevaCo
240 posts
16 years ago
RevaCo's avatar RevaCo
Hi John, A quick update; I installed the latest version of FF, and was still unable to recreate the issue you’re having. Have you tried it with a different location? I’m just wondering whether Google Maps has a problem with the specific location you’re attempting to pinpoint. Cheers, Stephen

Hello Stephen.

I have tried difference locations - will try today with a fresh version on a new site. Will feed back.

Thanks John

       
RevaCo's avatar
RevaCo
240 posts
16 years ago
RevaCo's avatar RevaCo
Will feed back

Uninstalled then reinstalled, woking nicely. (thank you.)

The new installation I tried on a test domain failed as it conflicted with VZ URL.

Thanks John

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

Hi John,

Glad you got it sorted, and thanks for the heads-up re: VZ URL. I’ll install it and try to work out which of us is being naughty 😊

Cheers, Stephen

       
Etheya's avatar
Etheya
213 posts
16 years ago
Etheya's avatar Etheya

Hi there, i have this extension working very nicely showing 1 location within a given weblog, however i want to be able to show an overview page where the map is shown and multiple locations are shown on the map from the weblog entries… also then link the marker to each weblog that it corresponds too…

Not really sure if this is possible or not? and i guess dont want to mess around all evening if its not currently something that can be done…

Any ideas anyone..?

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

Hi flashwiz,

Not really sure if this is possible or not? and i guess dont want to mess around all evening if its not currently something that can be done…

No, it’s not. It’s on the list for version 2, but that’s a way off yet.

Cheers, Stephen

       
Etheya's avatar
Etheya
213 posts
16 years ago
Etheya's avatar Etheya

Thanks for the fast reply Stephen… much appreciated at least i know i cant do that at the moment..

Brian

       
Robert Aitken's avatar
Robert Aitken
13 posts
16 years ago
Robert Aitken's avatar Robert Aitken

Very nice extension! I’ve been able to get it going in the control panel, in templates, but not in SAEFs. Unfortunately, that was the bit I was most interested in. Hope you can get that working… 😊

       
Michael C. (KKCJ)'s avatar
Michael C. (KKCJ)
100 posts
16 years ago
Michael C. (KKCJ)'s avatar Michael C. (KKCJ)

Great extension! Thanks for releasing this. 😊

Unfortunately, I need this for one of those countries that doesn’t yet have street data in the embedded versions of Google Maps (it does at maps.google.com). I know I can toggle over to satellite view in the templates / SAEF, but how would I default to satellite view in the CP? Would it be possible to add a drop-down to select between hybrid/map/satellite, just like you have the drop-down for the zoom levels?

Thanks again! - Michael C.

       
MarcinM's avatar
MarcinM
17 posts
16 years ago
MarcinM's avatar MarcinM

Great ext!

Just one request (or maybe it’s already possible?): directions. Would be great to have at front, next to map small input and Get directions button and if some provide any address in it, the map will show route and display a list od directions.

Something simillar to this: Google map directions (the “To” input isn’t necessary, because I’m seting that in CP, language could be set in CP, or just get from EE user settings). Additional, the pointers and rout should work like at maps.google.com - you can drag it and set some stopovers, or just use other road.

That would be a nice add on 😊

       
Etheya's avatar
Etheya
213 posts
16 years ago
Etheya's avatar Etheya

I seem to be having issues with this displaying in IE… is there a known problem at all?

thanks

       
Etheya's avatar
Etheya
213 posts
16 years ago
Etheya's avatar Etheya

Seems to work fine in every browser but ie! there it just displays the alternative text… hmmmm

       
First 6 7 8 9 10 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.