Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Location Map through Layout & Objects Tab #18

Open
kriskrosinteractive opened this issue Jan 23, 2015 · 1 comment
Open

Adding Location Map through Layout & Objects Tab #18

kriskrosinteractive opened this issue Jan 23, 2015 · 1 comment
Assignees

Comments

@kriskrosinteractive
Copy link

HI Steve,

I am not sure if I am using the MuraLocations plugin correctly or not but I was wondering should it be ok to include the MuraLocations plugin in a page through the Layout & Objects Tab?

When I do add the plugin this way, none of the MuraLocationsMap Options are being used, the default values are always used.

I added the plugin this way, went to the Layout & Objects Tab, selected "Plugins" from the Content Objects drop down menu, those selected "MuraLocations". Finally I selected "Locations Map" and clicked it across to the main content. The maps appears and has all the pins it should have but it always uses the default values in this case no matter what I change in the MuraLocationsMap Options.

I know I could use a line of code like this to override the default values:

[mura]$.muraLocations.dspLocationsMap(displayTravelMode=false, mapType='ROADMAP',displayDirections=false,mapHeight=200)[/mura]

but from a client point of view it would be far better for them to include the plugin from the Layout & Objects Tab as they are familiar and comfortable using this.

Any advice would be appreciated.

Best Regards

Chris

@stevewithington
Copy link
Owner

@kriskrosinteractive, sorry for the delay in responding. However, it sounds like you're doing a couple of things together and the code is getting stepped on. You need to choose one option or the other, not both.

Option 1: Add Folder/MuraLocationsMap
If you add a content item of type MuraLocationsMap then you shouldn't go to the Layout & Objects tab at all. The map will just appear based on the settings provided.

Option 2: Display Object
Currently, the display object is not configurable from the User Interface, however I'll flag this ticket as a feature request and will keep it in mind when I have time.

Hope that makes sense,
Steve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants