Skip to content

Conversation

@aaronbauman
Copy link

There's probably a way you can update your tile store to expose this data, but without recreating the map layer altogether there was no way for me to do that. Instead, i'm using the address information to query OPA via the web service at api.phillyaddress.com. This returns a boatload of information, and I've built a proof of concept to expose $ / sqft information on the tooltip.

Whether or not this pull request gets included in your repo or not, I think it's worth exposing additional data in the map layer one way or another.

Screenshot 3:13:13 5:53 PM
.

Aaron Bauman added 2 commits March 13, 2013 17:38
…yaddress.com. I'm interested in valuation per square foot, but OPA web service can return loads of information. These changes append an ajax callback to the tooltip to query the OPA web service and render the $ / sqft data inline with the other data. The only obtrusive change is the height of the tooltip, which must grow to accommodate the additional data.
…ddress.com. I'm interested in valuation per square foot, but OPA web service can return loads of information. These changes append an ajax callback to the tooltip to query the OPA web service and render the $ / sqft data inline with the other data. The only obtrusive change is the height of the tooltip, which must grow to accommodate the additional data.
@caseycesari
Copy link
Member

Hi @aaronbauman. Thanks very much for the effort here. Much appreciated. We've had a few requests to add more data to the parcel roll over. Rather than relying on the PhillyAddress API, I'm going to add more data to the base parcel layer and find a good way to expose it in the roll over without making the tooltip too big (a couple sites that have embedded the map have it pretty small, so I don't have too much room to work with for the tooltip).

Thanks again.

@aaronbauman
Copy link
Author

Yeah, that approach definitely makes more sense, I used the API as a matter of expedience to not need to create my own data store.

PDQ posted a map that appears to be based on AxisPhilly's, putting the tooltip in a fixed position in the upper right hand corner:
http://tiles.mapbox.com/philadelinquency/map/map-sbsby7a9

That approach gives you more flexibility about the size of the tooltip and what goes into it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants