Return to Select the Map Provider |
---|
If the markers provided out-of-the-box with the Virtual Map View Web Part aren’t sufficient for your situation, you can create your own markers. See an example of a map with customer markers here.
Follow these steps to add a custom marker:
Step | Action |
---|---|
1. |
Create icon files for your custom markers using your preferred graphic design tool. The supported file formats are GIF, JPG, and PNG.
|
2. |
Copy your marker icon files to the resource directory on your SharePoint server(s). The resource directory is typically found at this path:
|
3. |
In the web part tool pane, click Edit next to the Marker Type selection. A window will appear where you can edit information about the available marker types. For each marker available, there is an XML tag like this:
You need to edit the code in the window to add a tag for your custom marker and insert it in the file before the ending </Icons> tag. As an example, consider a custom marker called Amarker.png that is 45 pixels wide and 45 pixels high. The tag for it would be:
Where:
Once the new tag is added, click Save to close the window and save your change. Otherwise, click Cancel to close the window without saving any changes. |
4. |
Once the tag for your custom marker is saved, it will be available in the Marker Type selection list. Select it in order to see it displayed on your map.
|
Return to Select the Map Provider |
---|