var bookmarks_list = [{ "extent": { "spatialReference": { "wkid": 102100 }, "xmin":-14201669, "ymin":4642975, "xmax":-13021482, "ymax":5278931 }, "name": "Northern California" }, { "extent": { "spatialReference": { "wkid":102100 }, "xmin":-8669334, "ymin":4982379, "xmax":-8664724, "ymax":4984864 }, "name": "Central Pennsylvania" }]; // Create the bookmark widget var bookmarks = new esri.dijit.Bookmarks({ bookmarks: bookmarks_list }, dojo.byId('bookmarks'));
Hi thanks for posting this question as I would like to achieve the same outcome. Was it successful? In what template files did you place the bookmark widget? where in the code? It would be amazing if you could paste the code of how you got it to work!
thank you,
Sienna
Hey Stephen,
Could you provide more details of how to incorporate this into the code that comes with the app?
BEst,
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.