The Edit Map Points interface of Smart Map lets you manually add and edit points to the JetkeyMapPoint table.
Adding a map points to the database does not automatically add them to the map. There are several ways to add them to the map after you input them here. See Displaying Points on the Map From the JetkeyMapPoint Table below. |
Edit Map Points Interface
Enter a location (such as full street address, or city and state/province/region, or country, or landmark - such as Eiffel Tower). Then click Find Lat/Lng. If the geocoder is able to find the location, the Latitude and Longitude boxes will be filled filled in automatically.
This setting allows you to toggle between decimal coordinates and degrees/minutes/seconds coordinates. You can add map coordinates using either mode. The built-in coordinate converter will automatically convert your degrees/minutes/seconds values to decimal values and vice versa.
The latitude and longitude coordinates are used to plot a point on a map. Values can be entered manually, or automatically when you enter a location and click the Find Lat/Lng button (described above).
Use this button to select an icon for this particular point. To add an icon to the selection list, use the Edit Icons interface.
The description that you use here will appear in the sidebar as a hyperlink.
Click Actions
Set Zoom Level
Sets the zoom level of the point. This option only works when plotting a single point.
Sets the map type. This option only works when plotting a single point.
Whether to show the info window or not.
Type of info window to display.
Whether to show driving directions or not. This option is only relevant if the Info Window Type is set to HTML.
Enter text or HTML that you wish to display when the balloon window opens at this point.
Displaying Points on the Map From the JetkeyMapPoint Table
There are several ways to plot points from the JetkeyMapPoint table after you add them there using the Edit Map Points interface:
If you want to quickly display one or several map points, type them into the search box like this: pid:1 or pid:1,2,3 etc. ![]()
Click to enlarge
If you have just a few map points to display on the map, perhaps the easiest way do this is through the querystring.
Simply pass a comma-delimited string of Point IDs (PID's) through the querystring using the PID parameter.
For example: http://smartmap.jetkey.com/Example/tabid/54/Default.aspx?pid=1,2,3 (This plots points 1,2 and 3 from the JetkeyMapPoint table on the map).
You can pass as few as one PID to as many as you want using this method. However, if you have more than a few points to plot, it is better to use the Query Manager (below).
If you have more than a few points to plot on the map, it is best to use Smart Map's Query Manager to design a custom query. You can then use this query to display points on a map. To see an example using the JetkeyMapPoint table, see Query Manager: Plotting Points from the JetkeyMapPoint Table.
See Also
Query Manager
Plotting Points from the JetkeyMapPoints table
Adding a map points to the database does not automatically add them to the map. There are several ways to add them to the map after you input them here. See