Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
ALIM | Exor
  • Product Communities
  • AssetWise
  • ALIM | Exor
  • More
  • Cancel
ALIM | Exor
ALIM | Exor - Wiki HOWTO: Add a background layer
    • Sign in
    • -Exor - Wiki
      • -AWLRS
        • What’s new in version 1.1.8
        • What’s new in version 1.1.6
        • AWLRS - Known limitations
        • AWLRS and Spatial Manager - Questions and Answers
        • AWLRS Administration Guide
        • AWLRS Product Installation and Upgrade Guide 1.1.6
        • AWLRS Infrastructure Guide v.1.1
        • Learning
        • HOW TO: Use GPS Coordinates To Locate A Point Asset In AWLRS
        • HOWTO: Add a background layer
        • HOWTO: Create directional arrow symbols for linear layers
        • +AWLRS Troubleshooting
      • Exor Accidents Manager
      • +Exor Asset Manager
      • +Exor CIM / FIM
      • +Exor Document Manager
      • +Exor Enquiry Manager
      • +Exor Information Manager
      • +Exor Information Manager TMA Reporting Pack
      • +Exor Maintenance Manager
      • +Exor Maintenance Mobile
      • +Exor MapCapture
      • +Exor MapCapture (ESRI)
      • +Exor MCI MapCapture Interface
      • +Exor Network Event Manager
      • +Exor Network Manager
      • +Exor Oracle
      • Exor Problems and Solutions
      • +EXOR product placeholder
      • +Exor Public Enquiry Manager API
      • +Exor Schemes Manager
      • +Exor Spatial Manager
      • +Exor Street Gazetteer Manager
      • Exor Streetworks Manager
      • +Exor Streetworks Mobile
      • +Exor Structures Manager
      • Exor Structures Mobile
      • +Exor TMA API and Web Service
      • +Exor TMA Noticing Manager
      • +Exor TMA Permitting Manager
      • +Exor UKPMS
      • ORA-20000: HIG-0230: Inconsistency detected error on login
      • +Transportation Intelligence Gateway
      • +Video Series for Exor
    • +ALIM Document Manager

     
     Questions about this article, topic, or product? Click here. 

    HOWTO: Add a background layer

      Product(s): AWLRS
      Version(s):

    01.01.0.01

      Environment: N/A
      Area: background layers
      Subarea: N/A

    Background

    AWLRS can be configured to use public Open Street Map (OSM), WMS or ArcGISRest tile services to be used as background layers.

    Steps to Accomplish


    These layers are configured through “[AWLRS Web Api]\Scripts\configs\MapBaselayers.json” file on the application server, for example

    C:\inetpub\wwwroot\AWLRSWebAPI\scripts\configs\MapBaselayers.json

    This is an excerpt from this file:

    Each entry in the file has following properties:

    • Name: The Name to be displayed in the map legend.
    • Type: Should be one of the following
      • “OSM” – OSM tile server.
      • “WMS” – OGC compliant WMS server.
      • “ArcGISRest” – ArcGIS Tile server.
    • Url: The URL of the service, this may be an array of URLs in the case of a tile server. The service will be called from within the client browser so the URL should be publicly accessible.
    • Parameters: This property only applies to WMS services and allows the following parameters to be added to the WMS request issued by the client browser:
      • “LAYERS” – A list of layers to be included in the image returned by the service.
      • “BGCOLOR” – The background color to be used by the service when rendering the requested image.
      •  “FORMAT” – The format of the image returned, generally this should be “image/png” unless the service does not support this format.
    • Options: “Attribution” Any acknowledgment or Copyright message that the service provider requires to be displayed in the map.
    • IsActive:
      • true – the layer is displayed in the map legend
      • false – the layer is not displayed in the map legend
    • IsShown:
      • true – the layer is displayed at startup
      • false – the layer is not displayed at startup
    • MinimumScale: integer value, the minimum scale at which the base layer is enabled.
    • MaximumScale: integer value, the maximum scale to which the base layer is enabled. Should be set to 0 if there is no restriction in maximum scale.
    • Projection: The projection to be requested from the Tile\WMS server. The projection should be defined in EPSG notation i.e. EPSG: {epsg_code}. For example EPSG:3857

    NB. If AWLRS is deployed to several load balanced servers the contents of this file must be consistent across ALL of them.

      Original Author: Pano Voudouris
    • background layers
    • AWLRS
    • OSM
    • WMS
    • Share
    • History
    • More
    • Cancel
    • Pano Voudouris Created by Bentley Colleague Pano Voudouris
    • When: Mon, Jan 22 2018 10:14 AM
    • Pano Voudouris Last revision by Bentley Colleague Pano Voudouris
    • When: Fri, Oct 18 2019 7:20 AM
    • Revisions: 3
    • Comments: 0
    Anonymous
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • User Management
    • Licensing Manager
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2019 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies