Driving from Database >> Necessary Configurations |
Now let's get into a more complex example. Here we have a database having sales values of all the US states. We need to show that on a map of USA. We will also grade the sales figures as High, Moderate and Low sales. These grades will be reflected as different colors against each state. This app will look like the image below: |
![]() |
The example discussed here is present in the Download Package > Apps > FusionMaps_USSales.fp7. |
Steps in brief |
Let us take a brief look at the steps that we will be taking to create our first map:
|
Setting the Maps SWF and FusionMaps Pro for FileMaker Engine |
|
Before you go through this example we ask you to go through the Section - Creating Your First Map, because there we start off from things discussed here. |
Defining The Database |
|
![]() |
|
![]() |
|
![]() |
We add some fictitious data to the table. For StateId we referred to the Map Specification Sheet of USA. |
![]() |
Adding the FusionMapsLibrary |
To add a file reference we go to menu: File>> Define >> File References. Here, we add FusionMaps Library.fp7 file from Maps folder. |
![]() |
Modifying the layout |
|
![]() |
|
![]() |
Adding a Portal to show data |
|
![]() |
![]() |
Note that we will use USA map. Please go through the Map Specification Sheet of USA map to know what Internal Ids it accepts. |
Adding Web-Viewer Object |
To show the map we need to embed a Web Viewer Object. We do this in the following steps:
|
![]() |
To show the map in the Web Viewer Object we will go thorough the following steps:
|
In the next page, we will create the script steps to create the FusionMaps URL and plot data on the map. |