New Features in Oracle Apex

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 15

MAPS IN ORACLE APEX

Maps Region (Use Cases)

Click on a location in map and Search for your required location


view brief info in popup / info in interactive report and view it
window (Requires HTML on map (along with info window)
Formatting)
MAPS IN ORACLE APEX
Maps Region (Use Cases)

Apply filters on huge geographic Draw circle on map based on your


data using Faceted Search data and visualize all the locations
component and analyze on map within the circle in a classic report
MAPS IN ORACLE APEX
Maps Region (Use Cases)

Draw a map and display all Click on any location on map to


locations within current (zoomed / see nearest available locations in
panned) view, in a report (Bounding database
(SDO_NN Spatial SQL function, which walks through
Box Item attribute) the spatial index and returns nearest neighbors based on
the given position)
MAPS IN ORACLE APEX
Maps Region (Use Cases)

Visualize the density of spatial Visualizes different regions on


objects. Zoom in and out to see map as polygons. E.g. States,
how the heat map visualizes Cities etc. (Polygon color can be determined
by database column values)
point density.
MAPS IN ORACLE APEX
Maps Region (Use Cases)

Display different regions in


extruded (3D) form, based on
database values. (E.g. number of
airports in a state)
MAPS IN ORACLE APEX
Google Maps (Use Cases)

Navigate to a location based on search criteria


MAPS IN ORACLE APEX
Google Maps (Use Cases)

Click on a location on map and show detailed information in a report


MAPS IN ORACLE APEX
Google Maps (Use Cases)

Draw a polygon based on values from your database


MAPS IN ORACLE APEX
Google Maps (Use Cases)

Draw circles on Google maps based on your data from database


MAPS IN ORACLE APEX
Google Maps (Use Cases)

Cluster maps are a great tool for determining how many data points are
located in a specific region
MAPS IN ORACLE APEX
Steps to integrate Google Maps in Oracle APEX

• Create a Static Content region and assign a Static ID (e.g. map)


• Write a JS function to draw the map in that region (e.g. initMap)
• new google.maps.Map(document.getElementById('map'))
• Write function to draw required layer on map
• new google.maps.Polygon(map, coordinates)
• new google.maps.Circle(map, centerPoint, radius)
• new google.maps.Marker(map, position)
• new MarkerClusterer(map, markers, image)
• Call the function (initMap) on page load
• Include Google Maps API Key for the map in page HTML Header
<script async defer src="https://maps.googleapis.com/maps/api/js?key=GOOGLE_API_KEY&callback=initMap"></script>
MAPS IN ORACLE APEX

Let’s have a demo


Summary

IN THIS SESSION, YOU LEARNED:


• TYPES OF LAYERS IN MAPS
• KEY FEATURES OF MAPS IN ORACLE APEX
• INTEGRATION OF GOOGLE MAPS WITH ORACLE APEX
REFERENCES

HTTPS://APEX.ORACLE.COM

HTTPS://GITHUB.COM/ORACLE/APEX/

HTTPS://WWW.GOOGLE.COM/MAPS

You might also like