Hello, can anyone tell me how you can customize the bookmarks widget to remove the standard bookmarks that come preset and how to add your own that will be permanent every time a user accesses the viewer?
Then configure your bookmark xml file to look like this:<configuration> <bookmarks><bookmark name="City Hall and Parson's Complex"> -8133700 5045180 -8132200 5046025</bookmark><bookmarks> So you call the <bookmarks> Then you name your bookmark and define where it is <bookmark name="City Hall and Parson's Complex"> -8133700 5045180 -8132200 5046025. then you close the tag of the actual bookmark </bookmark> and the total container of bookmarks </bookmarks>You put as many bookmarks as you like between <bookmarks>....</bookmarks>
The tool that Meghan's link references is great if you are using the Web Mercator projection that is used by all ESRI map services. But if you are using a different projection in your application, such as a State Plane projection relevant to your locale, that tool will not return the proper coordinates.
This widget allows you to create your own bookmarks based on the current extent and also has functions to save them to a file or email them to someone. You can load that file into the widget as well, but the created bookmarks are really only "local" to the creator or anyone possessing the saved/emailed file.
When I want to create bookmarks that will become the "default" for everyone, I create the bookmarks within the widget, then save/email them. I then open that file in a text editor and copy/paste the <bookmark> (singular) tags into my BookmarkWidget.xml configuration file. The bookmarks then become visible to everyone.