Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Google Map Data Files

Avatar

Level 3

We are planning to create a component in AEM 6.1 that will show multiple markers on a Google Map.  It will look kind of like a Store Locator Map or a Power Company Outage Map.   The Google Map javascript, API key, .css etc will be integrated into AEM as a component on a special purpose template.   The map markers will be drawn based on data in several JSON files that will be updated every 15 minutes or so. We plan to use curl commands to automate upload to author then replicate to the publish servers.

Where is the best and most AEM friendly place to put the JSON files?  Is it ideal to have them in AEM at all?  If so where?  Does it make sense to place them under /apps/<project>/resource folder (or similar) even though they are data?  They are not really page content, and not really digital assets but are those good places? Maybe it would be better to keep them out of AEM altogether? 

Any thoughts on the plan and where to put the JSON files?  Any load concerns with automating replications every 15 minutes?

Thanks in advance!

1 Reply

Avatar

Level 3

Any best practice thoughts out there?