MCPcopy Index your code
hub / github.com/google-map-react/google-map-react / pointLocation

Method pointLocation

src/lib/geo/transform.js:133–136  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

131 }
132
133 pointLocation(p) {
134 const p2 = this.centerPoint._sub(p)._rotate(-this.angle);
135 return this.unproject(this.point.sub(p2));
136 }
137}

Callers 3

getCenterMethod · 0.80
getBoundsMethod · 0.80

Calls 1

unprojectMethod · 0.95

Tested by

no test coverage detected