サポートと今すぐチャット
サポートとのチャット

erwin Evolve 2023.1.0 - General

Working with Vector Maps

Vector Maps require that you have a specific Single Line Text property on your object which is used to store a country code value, or a latitude/longitude value. The map will not work without one of these codes.

Vector Maps enable you to highlight countries or places on a map so that the user can click through to see more detailed information about that area.

You can use them on an Index Page, or on an Object Page to show locations that are associated to the main object.

It works by using a single object in your model to represent an area on the map - either a country, or a place within a country - that area is highlighted and is clickable so that a supporting Object Page can be used to show additional information.

Icon

Description automatically generated

Example

Use Location objects to highlight each country where your organization has an office, and then use an Object Page for the Location to show detailed information about each one, such as which Functions (associated) are performed there.

There are two types of map available, each with several different built-in maps available:

  • Worldwide maps (used to show countries): World, Europe

  • Country maps (used to show places): Belgium, France, India, Italy, Netherlands, Philippines, South Africa, United Kingdom, United States.

Icon

Description automatically generated

If you want to view another map not currently on the list, please review this list of available maps, then raise a request with your Account Manager or with the erwin Support Team.

Highlighting countries on Worldwide maps

When using Worldwide maps, you must have a user-defined property on the object to store the country code. This must be a Single-Line Text property.

The country code is a two-letter code which adheres to the ISO 3166-1 standard, such as GBUSFRRead more about ISO 3166 here, or here on Wikipedia.

Highlighting places on Country maps

When using Country maps, you must have a user-defined property on the object to store the latitude and longitude reference for the place you want to show. This must be a Single-Line Textproperty.

The format for the value is '[latitude],[longitude]' - such as 48.856614,2.352222 for Paris.

Icon

Description automatically generated

Latitude values can be either North (N) or South (S), while Longitude values are either East (E) or West (W).

When entering these values in Evolve, please use a plus sign '+' instead of N and E, and use a minus sign '-' instead of S and W.

What do you want to do?

Create a new Vector Map for your page

Icon

Description automatically generated

These instructions assume that you have already created your page, including any filtering you may want so that only the objects you want displayed are shown.

To create a new Vector Map for your page:

  1. Ensure the Layout node for your element is set to List (Simple)

For an Index Page the Layout node is the one directly under the Object Type node.

For an Object Page the Layout node is the one directly under the Association Type node

  1. Right-click the Layout node and choose Add Behaviors > Maps > World Map (jVectorMap)

World Map (jVectorMap) node is added below the Layout node

  1. Select the World Map (jVectorMap) node and set the properties:

  1. Use the Map drop-down to select the map you want to use

  2. If you are using a Country Map to show places in a country, use the Lat Lang field to enter the Scriptname of the Property Type used to store the latitude/longitude value

  3. If you are using a Worldwide Map to show countries, use the ISO Code field to enter the Scriptname of the Property Type used to store the ISO value

    Always use lower case for Scriptnames.

  1. Save your Site.

The Site is saved and the map is created.

関連ドキュメント

The document was helpful.

評価を選択

I easily found the information I needed.

評価を選択