whosonfirst / whosonfirst-www-api

4 stars 2 forks source link

Add simple placecard HTML endpoint #114

Open nvkelso opened 7 years ago

nvkelso commented 7 years ago

Basically take the place name, address, and other basic place properties listed for the new table in https://github.com/whosonfirst/whosonfirst-www-api/issues/113 and put them into a formatted HTML snippet that can be returned by the API and used in Leaflet and mobile SDK info windows.

thisisaaronland commented 7 years ago

Some sample markup and CSS would be useful for starting. Given that stuff like this already exists:

https://places.mapzen.com/id/1126115093/info

It could be said that the endpoint already exists. What the endpoint doesn't know about it what sort of markup/formatting is necessary. Given a sample we can bang it in pretty quick and then rinse and repeat.