Skip to content

Instantly share code, notes, and snippets.

@otsaloma
Last active July 21, 2017 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save otsaloma/9bdd7e65cd1e98543ad7841c3df1254b to your computer and use it in GitHub Desktop.
Save otsaloma/9bdd7e65cd1e98543ad7841c3df1254b to your computer and use it in GitHub Desktop.
Poor Maps position centering testing circle
Rectangle {
id: circle
color: "red"
opacity: 0.2
radius: width/2
z: 10000
}
// onPositionChanged:
circle.x = cx - threshold;
circle.y = cy - threshold;
circle.width = threshold * 2;
circle.height = threshold * 2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment