Display Annotation Objects In Your Maps

Besides coloring elements in the map, displaying annotation objects such as pins, bubbles, polygons and even charts is a common data visualization technique many developers use in their applications. In essence, placing annotation objects on a map, involves having the lat,lon location where you want to place those elements and using the annotations charting extensions

If you were using javascript and jChartFX Plus to add annotation objects in a map, you must start by adding a reference in your page with the annotations extension:

You must then add lat,lon to the data in the map. For simplicity reasons, we are referencing a JSON with only two elements. However, please note you can populate a vast array of lat,lon locations of where to add annotation objects:

Once each object contained in the chart has a lat,lon location you can use the annotation extension to attach specific annotation elements at that specific coordinate as follows. In this case we are placing a pin at a specific lat,lon coordinate using a png image:

There are a wealth of samples provided with jChartFX Plus and Chart FX 8 you can use to get started on placing annotation objects in your maps. So please visit the jChartFX Plus or Chart FX 8 Maps samples section in the respective web site.