![]() ![]() ![]() For example, the following code snippet creates an interactive vector layer based on a predefined theme mvdemo.customers, which has an associated predefined style: Rich client side rendering of geospatial data with on-the-fly application of rendering styles and effects such as gradients, animation, and drop-shadowsĪutoclustering of large number of points and client side heat map generationĬlient side feature filtering based on attribute values as well as spatial predicates (query windows)Ī rich set of built-in map controls and tools, including a customizable navigation bar and information windows, configurable layer control, and red-lining and distance measurement toolsĮxisting server-side predefined styles and themes will work with the API. Some of its features include:īuilt-in support of various third party map tile services, such as, Nokia Maps, Bing Maps, OpenStreet Maps, and other mapping service providers The Oracle Maps JavaScript API takes advantage of the capabilities of modern browsers and HTML5. The bottom panel has tabs titled JavaScript and HTML, which respectively show the JavaScript and HTML code fragments for the selected demo.Ĥ.1.1 About the Oracle Maps JavaScript API Click on one and a map, or the result of executing that sample code, is displayed in the top right panel. The left one lists the sample code, or demo, titles. The tutorials are all based on the MVDEMO sample data set (available from the map visualization component page on the Oracle Technology Network) and assume a data source named mvdemo. The tutorials start with the basics (display a map tile layer, add a navigation panel, display interactive features and information windows) and move on to more complex topics such as registering event listeners, programmatically creating and using styles, and spatial filtering. Tutorials and demos for the API are available as a standalone packaged application with the root context path /mvdemo. For detailed information about all classes in the Oracle Maps JavaScript API ), see the Javadoc-style reference documentation, which is included in the mvdemo.ear file and is available at the following location: host:port /mvdemo/api/oracle_maps_html5_api.jsp To access these functions, use the JavaScript API, which consists of several JavaScript classes. ![]() (Redline drawings are often rendered in red, although you can specify a line style that uses any color.) Redlining refers to the application user creating a polygon or polyline by clicking the mouse button and then moving the mouse and clicking multiple times, with each click extending the redline by a straight line. It implements the following functions:įetching map tiles from the map tile server and displaying them as a map tile layer in the web browser.Ĭontrolling user interaction, such as dragging for map navigation, clicking features, drawing rectangles, and redlining.ĭrawing a rectangle refers to the application user creating a rectangle by clicking and holding the mouse button at one corner of the rectangle, dragging the mouse to the diagonally opposite corner, and releasing the mouse button. The Oracle Maps JavaScript client is a browser-based map visualization engine that works on top of the map tile server and that uses HTML5 technology.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |