Inductive Automation News Room

News / December 01, 2009

Did You Know? You Can Embed Google Maps Into Your FactoryPMI Project

Leverage the power of Google Maps by bringing it into your SCADA/HMI project. Using the Image Component, you can easily bind the image path to a Google Maps API URL. Then you can bind to other components, using property binding expressions, to dynamically alter the map.

You can display a map and allow users to interact with it by typing in locations, zooming in and out, etc. You might want to put buttons or images on top of the map that users can click on, or mouse over, to display data or perhaps open another screen.

Here's how you do it We've done most of the hard work for you so you can start off with a pre-developed screen and simply modify it.

You can type in your search keys (address), change the map type, zoom in and out using the slider, and change the image size. Go ahead and play around with the window and customize it to suit your needs. Below is an example of what you should see when you are finished: