MapLinks
From OasisNYC
Contents |
Direct links to your customized maps
OASIS has an easy way of creating direct links to specific maps. We outline the steps below. Also, you can use this to update any pre-2009 referring links at your website so they'll work with the current version of OASIS.
If you have a situation that's different than any of the following examples, please email us with your questions and/or feedback.
Tax parcels
You can create shortcut URLs to zoom to individual tax parcels anywhere in New York City.
Let's say you're blogging about a vacant lot in your neighborhood that you'd like to convert to a playground. You've looked at the parcel on the OASIS website, and you've determined that the property is tax lot 8 in block 3019 (and it's in Brooklyn, whose borough code is 3).
So the boro/block/lot code for this property is "3030190008" (the 1st character is the boro code, the next 5 characters represent the block code with leading zeros, and the last 4 characters are the lot code with leading zeros).
The OASIS URL for this property would be http://www.oasisnyc.net/map.aspx?zoomto=lot:3030190008. This will zoom directly to the parcel.
You'll also see this URL in the OASIS Location Report for the tax parcel. You don't need to know the parcel ID; you can just click on a property on the OASIS map, and we'll generate the parcel-specific URL for you.
Location Report "tab"
You can enhance this or any other custom URL to not only display a tax parcel on the map, but automatically display any of the detailed panels, or "tab", to the right of the map. The default section is the Legend tab. But if you add "&etabs=1" to the URL (so it looks like this: http://www.oasisnyc.net/map.aspx?zoomto=lot:3030190008&etabs=1), that'll zoom to a map showing the tax parcel and also displaying information about the parcel under the "Location Report" tab next to the legend.
The "etabs" option can be used for the other panels to the right of the map. etabs=2 will display the Site Search panel, and etabs=3 will display the Community Data panel.
Locations based on a street address
Using a similar process, you can create location-specific URLs for any valid street address in New York City.
For example, the address of the CUNY Graduate Center is 365 Fifth Avenue in Manhattan. If you've tried this address in OASIS's address search box and it worked ok, then you could create a URL with the address + borough.
It would look like this: http://www.oasisnyc.net/map.aspx?zoomto=address:365 Fifth Ave, Manhattan
Community gardens
In addition to tax parcels, OASIS provides garden-specific URLs.
The URLs use garden IDs that were assigned by GrowNYC (see the latest community garden page on our wiki for more info). The URL would look like this: http://www.oasisnyc.net/map.aspx?zoomto=garden:113
This link will zoom directly to the Hope Community's Modesto "Tin" Flores Garden. If you added "&etabs=1", the link would also display information about this garden in the "Location Report" panel.
The garden URLs are displayed in the Location Report for each garden. So you don't need to know the garden ID; you can just click on a garden on the OASIS map, and we'll generate the garden-specific URL for you.
Customized maps
You can copy a location-specific URL for any custom map you make at OASIS.
Just zoom to the map, turn on/off the layers you like, pick the tab that you want (Legend, Location Report, Site Search, etc), and click the "Link" item in the upper right corner.
A pop-up window is displayed with the full link for your customized map. You can copy it and tweet it, post it to Facebook, add it to your blog or website, or email it to friends and colleagues.
You may want to use a link-shortening service like bit.ly. Otherwise the link can be long and cumbersome, like this:
What else should we include?
The OASIS shortcut URLs will make it easier for you to zoom to specific locations on the OASIS map, "remember" and share those locations, and create your own search pages to access maps on OASIS. If there are other features you'd like us to add to these shortcuts, let us know and we'll consider expanding this feature.

