Skip to content

Latest commit

 

History

History

This sample demonstrates how you can display geospatial data onto a map using the HTTPTupleView operator, and OpenLayer APIs.

This application has two custom operators that randomly generates geospatial locations of two types of entities around Hong Kong:

  • Taxi entities are represented by red markers on the map.

  • Public minivan entities are represented by green markers on the map

To see this sample in action, compile and submit the main application to a streams instance.

To compile the application, you need:

In a browser, open the following URL: http://PEHost:8080/map/map.html

To see popup on the map, open the following URL: http://PEHost:8080/map/map.html?popup=true