# 标记地图 **Repository Path**: momin1106/bookmark ## Basic Information - **Project Name**: 标记地图 - **Description**: 基于arcGis在地图上做标记 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2017-08-25 - **Last Updated**: 2021-10-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README  Create bookmark

Create bookmark


Purpose
This sample demonstrates how to create a multi-item toolbar menu with spatial bookmarks. It shows how to use HookHelper to get the focus map and create a bookmark.

How to use

See How to use ArcGIS samples for help running the sample.

  1. Run the CreateBookmark application.
  2. Open a map document, and zoom in to a certain extent.
  3. Click the down arrow next to the Spatial Bookmarks toolbar item and click Create. A dialog box opens.
  4. Type the bookmark name. The new spatial bookmark is added to the multi-item toolbar menu. A JOptionPane input dialog is used to create a name for the bookmark. The count is maintained by using IEnumSpatialBookmark.





Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic
ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced