govwiki / govwiki-dev.us

Development Branch of govwiki.us
http://govwiki.github.io/govwiki-dev.us/
1 stars 2 forks source link

Comments regarding Map #7

Open edring opened 9 years ago

edring commented 9 years ago
joffemd commented 9 years ago

Ed - our user - does not like the map that appears on the home page of the application. Aside from the comments above, he wants the map to be more focused on California - and show less of the ocean and other states. To accomplish this, the map must be taller and narrower. This URL shows a better call to Google Maps that would more closely meet Ed's requirement:

http://maps.googleapis.com/maps/api/staticmap?center=37.16611,+-119.44944&zoom=6&scale=false&size=500x640&maptype=roadmap&format=png&visual_refresh=true

We have had other hopes for the map which may or may not be possible. I review these below. We should discuss these before implementing:

(1) Make the maps look like ones developed for my previous web site. See http://publicsectorcredit.org/en/cities/ca (you may need to navigate to California). The developer of this has indicated that these maps rely on PHP and can't be easily integrated into a pure Java sight. You will see that this map has county boundaries and two small pull out maps for densely populated areas, which Ed liked. Can this be replicated somehow? NOTE 7 JULY: RE-DIMENSION MAP SO THAT HEIGHT IS INCREASED AND WIDTH IS DECREASED. THIS WILL LEAVE A BLANK AREA AT THE RIGHT WHICH CAN LATER BE POPULATED BY TEXT. ALSO, PLEASE OVERLAY COUNTY SHAPE FILES ONTO THE GOOGLE MAP. THESE CAN BE DOWNLOADED HERE: https://www.census.gov/cgi-bin/geo/shapefiles2014/layers.cgi (2) Our database contains three general types of governments: (a) General Purpose governments (which are cities and counties), (b) School Districts and (c) Special Districts (All Other Types of Governments). We would like the user to be able to control which type(s) of governments are displayed on the map. There should be some type of toggle switch that allows users to hide or display points associated with type a, b and c. NOTE 7 JULY: BEFORE IMPLEMENTING, PLEASE LOOK AT THE TYPE OF GOVERNMENT DROPDOWN AT THE TOP RIGHT OF THE INTERFACE. SOME OF THIS FUNCTIONALITY ALREADY SEEMS TO BE SUPPORTED. (3) THIS REQUIREMENT IS DROPPED FROM PHASE 1 (PLEASE DO NOT WORK ON IT) Allow our user to embed the map and the text selection box into a WordPress page, so that he has a way to get to our individual profile pages without going through the GovWiki home page.

joffemd commented 9 years ago

You can get a list of California County boundaries in the Fusion Table at: https://www.google.com/fusiontables/DataSource?docid=196LqydLhOq1Wl9612hNhcGoh4vUmRjTaiFvDhA#rows:id=2

joffemd commented 9 years ago

The changes to the width and height look good. Here are some updated specs and information: (1) Remove the Government Type pull down at the top right of the screen (2) Add county boundaries to the map. A new JSON file (county_geography_ca.json) has been added to the data folder that provides the information needed to show these boundaries.Users should be able to select a county by clicking on a blank area of the map inside the county boundaries (if this functionality is not easily supported by Google Maps, we should discuss alternatives). (3) Add a legend to the upper right of the map - covering part of Nevada - that allows users to select any combination of Cities, School Districts and Special Districts. Mapping of governments to these simplified types is implemented by the new alt_type column in governments and a new JSON file (govs_ca.json) in the data folder. (4) Reduce the height of the blue area at the bottom and further increase the height of the map. (5) In the blank area to the right of the map, add a column that can display user-supplied HTML. I need your advice about how to make it easy for a user to edit this HTML.

sibers-voronov commented 9 years ago

I integrate a different json file for counties which provide geoJSON instead of KML (Old file backed up). Now counties are clickable, but what with color? (We can make different colors for different counties, of course)

joffemd commented 9 years ago

This looks great! I think the reddish color is okay, but can you make it lighter or more transparent? After you fix the legend, I will ask the client for his input. Also: is it possible to show the county name when rolling over regions of the map that are not covered by a point?

igor-po commented 9 years ago

is it possible to show the county name when rolling over regions of the map that are not covered by a > point?

Could yoy please clarify, what means not covered by a point?

joffemd commented 9 years ago

Each city or special district is associated with a point or dot on the map. I would like the County name to show when the mouse pointer is not on top of a dot.

igor-po commented 9 years ago

Got it, thank you.

2015-07-14 18:57 GMT+06:00 Marc Joffe notifications@github.com:

Each city or special district is associated with a point or dot on the map. I would like the County name to show when the mouse pointer is not on top of a dot.

— Reply to this email directly or view it on GitHub https://github.com/govwiki/govwiki-dev.us/issues/7#issuecomment-121231270 .

sibers-voronov commented 9 years ago

I change counties opacity and stroke weight

Also I added legend mockup to the map, check design please. I need feedback

joffemd commented 9 years ago

Good progress. Remember to remove the "Type of Government" dropdown at the top right of the screen. Change "Select Districts" to "Select Type(s):" I suggest using a checkbox to the left of each category in addition to or instead of the background color.