Closed yfreemark closed 8 years ago
For the place marks, for the existing stops, I want small black circles. For the renovating ones, larger but not too large orange rectangles.
Popups
You can style these with standard HTML where it says content
in function onEachFeature()
.
Key There's no way to style the key, because it's a simple layer chooser. You can design your own key as a "control" box that gets positioned in one of the 4 corners, or you can find a plugin that helps you insert "control" boxes.
Markers The best bet is probably to install AwesomeMarkers. This is what I use on Chicago Cityscape and you basically tell the plugin the name of the icon/symbol you want, and the color, and it creates the marker.
Markers: I don't know how to tell the plugin which things I want it to mark.
Popups: Very helpful. Two things:
Key: I'll get to later!
Key:
I have decided I don't want the control bar at all, other than switching between base maps (which we can leave in the existing style). I just want a key on the left side. I have removed the clickers on the right side. I don't want users to be able to click on and off layers.
Markers I'll take a look at installing AwesomeMarkers.
Popups
Key You don't want which control bar at all? Be more specific: there's the layer chooser, which switches between Streets, Building Name, and Satellite, and then there's the "legend" that you want that comes as a Leaflet "control" box.
Popups:
Key
Markers Looks good.
Popups
I think the gap problem in the popups might be due to your (liberal) use of the <font>
tag in the site. This is an outdated way to style text; use CSS to control line heights, text size, and the like.
Key Which text is using Archivo Narrow and which is not?
Yeah I might change the text tags later but not a rush. Spacing problem has nothing to do with the text tags, but I agree that I can style using css. Currently popups are using Open Sans and key is using Archivo Narrow. I think it would make sense for the later switched to also use Archivo.
On Dec 29, 2015, at 17:44, Steven Vance notifications@github.com wrote:
Popups I think the gap problem in the popups might be due to your (liberal) use of the tag in the site. This is an outdated way to style text; use CSS to control line heights, text size, and the like.
Key Which text is using Archivo Narrow and which is not?
— Reply to this email directly or view it on GitHub.
Can I style the pop ups (in other words, text, color, etc.)? Where do I do that?
Can I style the key on the right? Where do I do that?
How do you format the place marks?