Difference between revisions of "Override Automatic Scaling of Intersected Maps"
TakKendrick (talk | contribs) |
TakKendrick (talk | contribs) (tweak) |
||
| Line 8: | Line 8: | ||
== [[DoneDone]] == | == [[DoneDone]] == | ||
| − | DoneDone when scales | + | DoneDone when Dev has deployed the capability and the Content Team ([[TakKendrick|Tak]]) has set scales for pages like [[LASIK Centers in Manhattan, NY]], and the map correctly centers on Manhattan. |
Pages we know are throwing outliers into the maps: | Pages we know are throwing outliers into the maps: | ||
Revision as of 20:24, 6 February 2008
What (summary)
Intersected Maps are currently centering based on an average location of all the point, and setting a default scale that works well on a regional level, but not on a national or global level (like we'll need for Oldcastle). The problem is when there's one or two extreme outliers, the map ends up centering on a location where their isn't any points at all.
Why this is important
Critical to the development of paying customers PortlandTech and Oldcastle (as well as developing technology for future portal sponsors). We've promised this functionality to Oldcastle.
DoneDone
DoneDone when Dev has deployed the capability and the Content Team (Tak) has set scales for pages like LASIK Centers in Manhattan, NY, and the map correctly centers on Manhattan.
Pages we know are throwing outliers into the maps:
Steps to get to DoneDone
A couple of suggested changes:
- As part of the address intersect call, we can pass a set of coordinates (lat, long) to it which dictates the "center" as well as the "zoom" level. If no coordinates/zoom level are specified, it does it's current "center on average" and zoom level. For example, we'd like to say specifically:
<address_intersect lat="37.351601" lon="-121.924896" zoom="10">PortlandTech, Web 2.0</address_intersect>
- Alternatively, the map excludes extreme outliers. Again, maybe there is a coordinate that says, "this is Portland" and it averages based on anything in a 30 mile radius of that coordinate.

