Skip to content
Discussion options

You must be logged in to vote

Upgrade to v0.14.0.

from anymap_ts import Map

m = Map(center=[-122.4, 37.8], zoom=10)
m.add_control_grid(
    bookmark_options={
        "bookmarks": [
            {
                "id": "nyc",
                "name": "New York City",
                "lng": -74.006,
                "lat": 40.7128,
                "zoom": 12,
                "pitch": 0,
                "bearing": 0,
                "createdAt": 0,
            },
            {
                "id": "sf",
                "name": "San Francisco",
                "lng": -122.4194,
                "lat": 37.7749,
                "zoom": 12,
                "pitch": 0,
                "bearing": 0,
                "createdAt": 0

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by giswqs
Comment options

You must be logged in to vote
1 reply
@giswqs
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants