This is an archive related to a previous version of Esri Maps for SharePoint. If you need the current version go to http://doc.arcgis.com/en/maps-for-sharepoint/.

Create picture marker sets

As a developer, you may want to customize the symbols within Esri Maps for SharePoint by creating custom picture marker sets. Picture marker sets are extensions that add custom symbols to symbolize your data. Custom symbols can consist of images such as PNGs and JPGs, or URLs to an image.

pictureMarkerSet.json.txt file

When you create a custom picture marker set, you place an array of picture marker set definitions in a JSON configuration file named <picturemarkersetname>.json.txt, and place the file in the same folder as the custom symbols in the extension pack. This file determines the picture marker sets that are loaded symbolizing data.

Create a new picture marker set

The following example shows the implementation of a picture marker set that uses two images: one packaged with the extension pack and the second one as a URL pointing to an image.

[
    {
        "type": "esriPMS",
        "url": "extensionPackName/symbols/image1.png",
        "width": "20",
        "height": "20",
        "xoffset": "0",
        "yoffset": "10"
    },
    {
        "type": "esriPMS",
        "url": "http://mypicturemarkerset.com/somepicture",
        "width": "20",
        "height": "20",
        "xoffset": "0",
        "yoffset": "10"
    }
]

Add a picture marker set to Esri Maps for SharePoint

Tools, behaviors, and picture marker sets are packaged in collections named extension packs, which consists of the code files for each extension, any supporting files, and a manifest file that describes the extensions contained within that extension pack. These descriptions, written in JSON format, outline the properties of each extension; for example, a picture marker set's description must include label and location properties but may also include other optional properties.

See Add extensions for more information.