Solved

center and zoom (set scale) to polygon within google static maps


Badge

My workflow right now is set up to do some calculations on a property boundary then be able to show that property on an aerial image. Where I'm getting stuck is to be able to find a way to set the scale (zoom level) of the google static map so the polygon is centered and at an appropriate zoom level.

I'm using the 'google static map fetcher' transformer and have everything working to be able to center the polygon within the google map, just want to find a way to set a scale level to have it adjust to the different size polygons.

icon

Best answer by debbiatsafe 19 June 2018, 18:56

View original

2 replies

Userlevel 3
Badge +17

Hi @apence23

Perhaps using the StaticMapOverlayer would work for your situation? The output from the Tiles port should be the static map feature.

Badge

Hi @apence23

Perhaps using the StaticMapOverlayer would work for your situation? The output from the Tiles port should be the static map feature.

that works like a charm! I just had to update some of the transformers to newer versions but that will work. thanks for the heads up on this one, should have kept looking through the FME Hub

 

 

Reply