Ticket #172 (closed enhancement: fixed)

Opened 6 years ago

Last modified 5 years ago

General map shows markers in same places overlapped

Reported by: ed Owned by: jim
Priority: minor Milestone: Phase 4
Component: Drupal modules & settings Keywords:
Cc: Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0.6

Description

This user appears on his own map but not on the general map:
http://www.transitionnetwork.org/node/2488/edit

This user added himself to the people directory and then noted that his mate (2488) was no longer on the map:
http://www.transitionnetwork.org/node/3240/edit

They both appear on the own profile page maps but it looks like location module can only handle one user per postcode.

Change History

comment:1 Changed 6 years ago by ed

  • Milestone set to Phase 3

comment:2 Changed 6 years ago by ed

comment:3 Changed 6 years ago by jim

  • Add Hours to Ticket changed from 0.0 to 0.2
  • Total Hours changed from 0.0 to 0.2

They're both there... You can see because the shadow is doubly dark as they're overlaid exactly on top of each other...

SO...

Hmmmm...

I don't know what to suggest right now. Will research the 'clusterer' options (!)

comment:4 Changed 6 years ago by jim

  • Add Hours to Ticket changed from 0.0 to 0.4
  • Owner changed from jim to ed
  • Status changed from new to assigned
  • Total Hours changed from 0.2 to 0.6

http://drupal.org/node/530328 has some part solutions, still being worked on... Will park for now.

Ed?

comment:5 Changed 6 years ago by ed

  • Priority changed from major to minor

It all looks very exciting to me, but if you feel it is too unstable i guess we have to park it... taking down to minor (leaving in phase 3 for now)

comment:6 Changed 6 years ago by jim

  • Summary changed from General map only shows one marker per postcode to General map shows markers in same places overlapped

comment:7 Changed 6 years ago by ed

  • Type changed from defect to enhancement
  • Milestone Phase 3 deleted

Moving out of phase 3 and de-prioritising to minor while we await for clustering enhancements from drupal.

comment:8 Changed 5 years ago by ed

  • Owner changed from ed to jim
  • Milestone set to Phase 4

any clustering enhancements from drupal now? bringing back to phase 4 to discuss.

comment:9 Changed 5 years ago by jim

I actually found a solution to this with a custom marker tweaky thing for GMaps...

Essentially, when a marker overlays another one, it's offset by a small amount.

You can see it in action on http://www.transitionus.org/action/350-challenge/map by:

  • zooming into Keene, New Hampshire (North East of US)
  • zooming into the south of Robin Hood park and looking for a marker with a VERY dark shadow
  • zooming in to see Water Street with lots of markers - THESE ALL ONCE OVERLAPPED...

I can apply this to TN.org?

comment:10 Changed 5 years ago by ed

sounds good for starters, although the clustering is the choice option. particularly if we're looking at #237

comment:11 Changed 5 years ago by jim

Code patched as per TUS as a quick fix - in SVN and waiting for #263.

Clustering to be looked at when time allows.

comment:12 Changed 5 years ago by ed

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.