Point Center and Zoom Level Definition

Card Puncher Data Processing

Point Center and Zoom Level Definition


In all javascript of Mapviewer, you will have to define a center point and the zoom level. It's two important settings in order to have a beautiful rendering.

Example of javascript :

    var mapCenterLon = -122.45;
    var mapCenterLat =  37.6706;
    var mapZoom      =  0;  

When you create a map tile layer, you have to give the coordinate system. If you gave the good informations during its creation, the zoom level definition is automatically fill with good values.
Example for the Netherlands :
Mapviewer Coordinate System Definition Nl

How to find them ?

The best way that I have found is to play with MapBuilder because in the render windows you will retrieve this information.

Mapviewer Center Point Zoom Mapbuilder

How to define the zoom level ?

  • Go to the mapviewer,
  • Connect with the oc4jadmin account
  • in the management tab, click on the “Manage Map Tile Layers” subtab
  • select you map tile layers and click on the “Edit/view detail” button
  • and go to the section “Zoom level definition”

Mapviewer Zoom Level Definition

Discover More
Card Puncher Data Processing

Mapviewer is a rendering software of spatial data stored in a Oracle database (Oracle Spatial). With MapViewer, you can start viewing your Oracle Spatial managed data. MapViewer is a component of Oracle...
Mapbuilder Sh Cust Density Advanced Style
Mapviewer - SH Customer Density Semi-Static Map

You must have the sh schema and the spatial demo files installed. As sys : As mvdemo : With Oracle Maps, labels are manifest as tool-tips on mouse-over the feature on the map. ...

Share this page:
Follow us:
Task Runner