Thanks for the maps

Jump to: navigation, search

Hi Jim,

That's amazing! One of my hopes is that when a user plops in the wrong lat/long, the map will get their attention and they can change it.

This is great. I see that it is implimented on all of the stream sites thus far.

Thanks for all of the work on this.

Cheers,

Declan

Dmccabe (talk)03:53, 15 February 2012

I figured out how to zoom. Is it possible to add a flag at the coordinates?

Dmccabe (talk)04:27, 15 February 2012

I changed the zoom level in Template:Infobox stream instead of in the underlying widget.

I've added a flags=lat,long,info,lat,long,info argument to the Widget:Map that takes triplets of latitude, longitude, and an info string to attach to the flag. I then changed Template:Infobox stream to place a flag on the specified coordinates (with a tag of the stream name).

JimTittsler (talk)12:24, 15 February 2012

Jim,

That is perfect!!! Thank you so much. My student returns on Monday and should add more streams and bug photographs.

Cheers,

Declan

Dmccabe (talk)12:35, 15 February 2012

Jim, is it possible to force the page content to start below the map? It turns out that if we have fewer than 10 bugs on a page, the TOC does not reach the end of the map frame and the content slides up the side of the page. Thanks Declan

Dmccabe (talk)14:27, 22 February 2012

There are a number of ways to approach this, a couple are:

  1. build the magic __TOC__ word (or one of the {{TOC...}} words into your Rivers/Project Nav template so that the TOC and your The following are the most common invertebrates collected from this stream site. boilerplate are all in the same DIV with the map and the infobox
  2. change InsectSection so that it doesn't start until both left and right margins are "clear"

I've done the latter because it is easier... although the former might be more flexible depending upon how you end up using the insect templates (particularly on narrow mobile displays).

Indian Kill is an example page that currently has fewer than 10 insects. Is this the layout you are after?

JimTittsler (talk)16:49, 22 February 2012

Thanks Jim, That's perfect. Indian Kill will have more, but is just a starter page until my student counts that sample....perhaps tomorrow. But yes, the format change is what I needed. otherwise it tended to split the insect template text from the image. I appreciate the help. Declan

Dmccabe (talk)17:08, 22 February 2012