Enable the Geocode plugin

Procedure

  1. In the PolicyCenter Project window, expand configuration > config > Plugins > registry.
  2. Double-click GeocodePlugin to open it.
  3. If the Disabled check box is checked, un-select the check box to enable the plugin.
  4. Ensure that the Class field specifies the Bing Maps implementation class:
    • gw.plugin.geocode.impl.BingMapsPluginRest
  5. Under Parameters, specify the following:

    applicationKey

    The application key that you obtained from Bing Maps.

    geocodeDirectionsCulture

    The locale for geocoded addresses and routing instructions returned from Bing Maps. For example, use the locale code ja-JP for addresses and instructions for Japan. The plugin uses en-US if you do not specify a value. For a current list of codes that Bing Maps supports, refer to the following web site:

    imageryCulture

    The language for map imagery. For example, use the language code ja for maps labeled in Japanese. The plugin uses en if you do not specify a value. For a current list of codes that Bing Maps supports, refer to the following web site:

    mapUrlHeight

    Height of maps, in pixels. The plugin uses 500 if you do not specify a value.

    mapUrlWidth

    Width of maps, in pixels. The plugin uses 500 if you do not specify a value.

  6. Save your changes.

What to do next

See also