Skip to main content
Solved

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


apence231
Contributor
Forum|alt.badge.img+7

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.

Best answer by debbiatsafe

Hi @apence23

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

View original
Did this help you find an answer to your question?

2 replies

debbiatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • Best Answer
  • June 19, 2018

Hi @apence23

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


apence231
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • June 20, 2018
debbiatsafe wrote:

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

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings