Skip to content

Use Custom Marker Error #405

@jeannettestrand

Description

@jeannettestrand

From the StoryMap ReadMe:

"Images can now be used in place of map pins. Use image inside the location object and include a url to use. use_custom_markers also has to be set to true in the story map options. Same goes for custom icons except you need icon inside the location object and include a url to use."

The slide->location->image property is not working; slide->location->icon IS working. When requesting a custom image in place of map pins, the following error is thrown, with the following stack trace:

[Show/hide message details.] ReferenceError: url is not defined[Learn More] storymap-min.js:12:24806
_createImage
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:12:24806
_createMarker
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:12:23638
_initLayout
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:12:14681
initialize
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:12:14025
NewClass
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:5:11125
_createMarker
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:12:30845
_createMarkers
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:12:19983
_initData
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:12:22842
initialize
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:12:16114
NewClass
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:5:11125
_initLayout
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:13:10587
_onDataLoaded
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:13:14759
_loadLanguage
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:13:9690
_initOptions
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:13:9402
_initData/<
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:13:8642
ajaxSuccess
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:5:2268
$.ajax/xhr.onreadystatechange
https://cdn.knightlab.com/libs/storymapjs/latest/js/storymap-min.js:5:7344

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions