wiki | forum | trac | otrs | joomla | tech blog | mailman | bewelcome Branches: test.bw | alpha.bw | www.bw Participate: download | get involved

Ticket #467 (assigned improve feature)

Opened 6 months ago

Last modified 3 days ago

static maps - on profile page and elsewhere

Reported by: philipp Assigned to: globetrotter_tt (accepted)
Priority: minor Milestone: 0.5.2-long
Component: BW Profile Version:
Keywords: Cc: philipp, midsch, globetrotter_tt
Follow up needed: test on alpha Frequently reported: 1
Announce on BW: 0

Description

static google maps are now available.

  • could be used to reduce load
  • could be used when javascript is disabled
  • a dynamic map could be loaded upon click
  • they can be used wherever an image can be used
  • it should be easy to cache them
  • they are currently limited to 50 markers, standard marker icon in 3 colors with one character

Attachments

profile.png (190.1 kB) - added by feuerdaemon on 03/13/08 21:23:42.
Unreadable Profile infos

Change History

03/13/08 18:02:55 changed by philipp

I created a proof of principle on the profile page and main page - please test, comment and improve if you like.

03/13/08 21:23:42 changed by feuerdaemon

  • attachment profile.png added.

Unreadable Profile infos

03/13/08 21:25:30 changed by feuerdaemon

The profile infos are pushed under the profile picture on FF 2.0.0.12 with Kubuntu. See uploaded picture.

03/18/08 09:38:11 changed by philipp

fixed the problem that the profile info is pushed under the picture - this now only happens when the window is too narrow, so still not perfect.

03/18/08 20:26:21 changed by micha

I think the maps should be rectangular and they should go with a border+title. else it looks really bad. Could you try to generate the maps based on the "terrain" maps by google?

03/19/08 07:29:40 changed by philipp

  • border: sure
  • title: what kind of title? I think it is pretty obvious what it shows, no?
  • rectagular: I agree, it would look much better, but you would hardly see anything if you place it in the header, though one might think of placing it into the main content on the right - well, maybe matthias has some nice ideas here (however it would be nice to fill the teaser with something useful)
  • terrain: no unfortunately not, currently static maps only provide normal and mobile (less information, bigger lables) map types.

(follow-up: ↓ 7 ) 04/06/08 12:56:41 changed by midsch

  • title: what kind of title? I think it is pretty obvious what it shows, no?

-> not if you're blind, block images, what ever. _ALWAYS_ use titles for proper HTML.

(in reply to: ↑ 6 ) 04/14/08 09:23:43 changed by philipp

Replying to midsch:

* title: what kind of title? I think it is pretty obvious what it shows, no? -> not if you're blind, block images, what ever. _ALWAYS_ use titles for proper HTML.

you are probably talking about alternate text for images? yes this should definitely be added! Sorry I thought about some real "title, or caption" on top or below the map.

06/24/08 16:46:38 changed by globetrotter_tt

  • owner set to globetrotter_tt.
  • status changed from new to assigned.

06/24/08 17:09:48 changed by globetrotter_tt

I did some mofifcation with r5298:

  • added a title/caption above the map. It shows the location breadcrumb navi. see also #557
  • the <img> has an alternative text now ;)
  • the map is smaller, "more rectangular" and has a border

07/09/08 21:43:11 changed by feuerdaemon

  • follow_up changed from test to move to alpha.

works fine on test. tested with Kubuntuand FF 3.0

08/25/08 21:17:26 changed by micha

  • cc set to midsch, globetrotter_tt.
  • follow_up changed from move to alpha to test on alpha.
  • milestone changed from unassigned to 0.5.2-long.

moved to alpha in r5944. Please test.

08/25/08 21:28:57 changed by micha

  • type changed from unknown to improve feature.
  • component changed from unknown to BW Profile.

ok, on my local install of the production code I get an error, saying "Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\Websites\bw-production\htdocs\bw\member.php on line 115"

As alpha seems to work, I guess that means other files have to be moved than in r5298. Please tell me, which files (or better revisions) have to be moved to production

08/25/08 21:29:12 changed by micha

  • cc changed from midsch, globetrotter_tt to philipp, midsch, globetrotter_tt.

08/25/08 22:11:24 changed by globetrotter_tt

On alpha i get for every profile except my own: Fatal error: Class 'LinkSinglePictureLinkpathWidget?' not found in /home/bwrox/alpha.bewelcome.org/htdocs/bw/member.php on line 85.

Trac Customization: trac stylesheet
SourceForge.net Logo