MapBuilder is an umbraco package for easily generating Google Maps based on umbraco nodes. Perfect for generating a map with physical stores. Made by your friends at Novicell.
MapBuilder features
Table of content
Quick start
Download the package.
Go to your backoffice > Developer > Packages > Install local package, and install as usual.
Accept when you're told that the package contains binary files.
After the installation completes, go to the new custom section, and setup a datasource. (NOTICE: You might have to allow the new custom section for the user under "Users")
After you've created a datasource, create a new map and set the datasource to the newly created one.
Copy the alias of the map, we need this for the next part.
When you're all set in the custom section, go to the view where you with to insert the map.
Use @Html.RenderMap(<Paste the alias here>) - That's it!
Notice
The package adds two custom tables to the database for storing information about the maps and datasources.
We might add a feature for using a filebased system (JSON-files)
Public methods
The methods available are:
@Html.RenderMap(string mapAlias)
@Html.RenderMap(string mapAlias, List<int> nodeIds) (NOTICE: When you use this, the nodeIds must have the properties set in the datasource)
@Html.RenderMap(string mapAlias, List<int> nodeIds, string titleProperty, string coordsProperty) (NOTICE: This will be changed to not need a mapAlias, as we set the properties in the method call)
Each of the methods has inline summaries of what is expected from them (When using Visual Studio)
Requirements
Umbraco 7.4+
It may work in earlier versions, but this has not been tested.
Found a bug?
We really appreciate bugreports and would love for you to tell us about them.
Use the issue tracker on github found here:
https://github.com/Novicell/novicell-mapbuilder/issues/
Improvements?
We love it when people have some improvements. If you have one, you can either make an issue here:
https://github.com/Novicell/novicell-mapbuilder/issues/
Or fork the project and make a pull request. We will merge the request if we find it useful.
Release log
You can watch the release log (and the updates made) here:
https://github.com/Novicell/novicell-mapbuilder/releases/
All things MapBuilder