Skip to main content
Solved

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

  • June 13, 2018
  • 2 replies
  • 102 views

apence231
Contributor
Forum|alt.badge.img+10

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

debbiatsafe
Safer
Forum|alt.badge.img+21
  • 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+10
  • Author
  • Contributor
  • June 20, 2018

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