Public Lab Research note


Inline map testing

by sagarpreet | | 69 views | 2 comments |

Read more: i.publiclab.org/n/18208


A brief guide to embedding maps on [PublicLab.org](http://PublicLab.org) pages.

Inline maps are a form of `inline power tags` which you can read more about on [the power tags page](/wiki/power-tags). These will display any content tagged with `lat:____` and `lon:____` tags showing location, near the provided coordinates.

Basic usage is with `[map:content:_latitude_:_longitude]`; for example:

`[map:content:29.9:-90.0]` gets you:

`[map:content:40.7:-73.9]` gets you:

A good place to quickly find lat/lon for any place is [http://osm.org](http://osm.org) (the URL will change as you pan around).

### Zoom level

Note how if you specify more precise numbers (more digits), it doesn't search as widely. Also, the precision sets the zoom level of the map, so shorter (less precise) coordinates make for a more zoomed-out map.

`[map:content:40.70:-73.90]`

### Tag-filtered maps

This type of inline map shows only content tagged with a given tagname. It follows the format `[map:tag:_tagname_:_latitude_:_longitude]`. For example:

`[map:tag:infragram:43:-71]` shows only nodes tagged with `infragram`.

## Questions on a topic near a place

(we don't currently have a lot of questions tagged with locations, but if we add some it'll work)

`[map:tag:question:infragram:43:-71]`

## People maps

Share your own location on your profile. Learn about privacy


2 Comments

Thank you for this info! I'm curious - do you know if and how it would it be possible to embed a soil map that Public Lab users could add info to and participate in creating? (For instance- soil test results)

Is this a question? Click here to post it to the Questions page.


Hi, DanielleS - we are interested in making a composite lead map that could help @read_holman's project in this post: https://publiclab.org/notes/read_holman/01-14-2019/seeking-gis-data-folks-help-us-create-a-nation-lead-exposure-risk-map

And the idea of being able to add info to it is really great. Do you have a suggestion of what kind of info you'd want to add to such a map? Actually if you wouldn't mind posting this as a comment on Read's post we can discuss over there! I think we could do something like this for the PL site, for sure!

Is this a question? Click here to post it to the Questions page.


Login to comment.

Public Lab is open for anyone and will always be free. By signing up you'll join a diverse group of community researchers and tap into a lot of grassroots expertise.

Sign up