Hi,
I'm using the Bookmarks widget, preloading bookmarks in the JavaScript code.
It works fine using type: extent:
new Bookmark({
name: "Test1",
viewpoint: {
targetGeometry: {
type: "extent",
xmin: -122.486,
ymin: 48.738,
xmax: -122.484,
ymax: 48.739
} } }),
But the scale isn't working for type: point:
new Bookmark({
name: "Test2",
viewpoint: {
targetGeometry: {
type: "point",
longitude: -122.488,
latitude: 48.73,
scale: ???
} } }),
How do I specify / use the scale parameter?
thanks,
~stefan (javascript beginner)