Project Reality Mapviewer
-
TheKrazyCanuck
- Posts: 10
- Joined: 2013-11-01 23:25
Re: Project Reality Mapviewer
It's an amazing tool to use as an admin. I always have it open when I am ready to do map votes, to not only see what mas would be good to add in to a vote, but also what layout to select when setting the next map as well.
-
Gerfand
- Posts: 329
- Joined: 2015-11-02 15:24
Re: Project Reality Mapviewer
not going to use PR official map gallery anymore!
Edit- just saw the caches spawn location, this is beautiful!
Edit- just saw the caches spawn location, this is beautiful!
Last edited by Gerfand on 2016-06-23 19:42, edited 1 time in total.
-
UTurista
- PR:BF2 Developer
- Posts: 985
- Joined: 2011-06-14 14:13
Re: Project Reality Mapviewer
Gerfand wrote:not going to use PR official map gallery anymore!

Dont question the wikipedia! Just because it reports different things on different languages does not make it unreliable source!
- Senshi
- PR:BF2 Developer
- Posts: 358
- Joined: 2010-04-29 10:44
Re: Project Reality Mapviewer
@Ason: Thanks for the bug report (and the detail of it, very helpful. Almost as if you know what counts in bugreports
). I could replicate the issue and I think I know what's going wrong. Fix coming soon.
EDIT: Bug is fixed. Didn't reset an array that should have been reset, so it's been a one-line fix
.
Route selection clearness: Hm, I always found it clear enough. Will think about how to make it more prominent.
Showing mapsize : Yeah, can do that for sure. Easy enough. Probably will add it both to the overview (gallery) as well as the actual mapview.
EDIT: Bug is fixed. Didn't reset an array that should have been reset, so it's been a one-line fix
Route selection clearness: Hm, I always found it clear enough. Will think about how to make it more prominent.
Showing mapsize : Yeah, can do that for sure. Easy enough. Probably will add it both to the overview (gallery) as well as the actual mapview.
Last edited by Senshi on 2016-06-24 08:12, edited 1 time in total.
-
viirusiiseli
- Posts: 1171
- Joined: 2012-02-29 23:53
Re: Project Reality Mapviewer
I rate it a perfect 5/7
- Ason
- PR:BF2 Developer
- Posts: 1755
- Joined: 2012-10-22 10:29
Re: Project Reality Mapviewer
Nice job.
I guess only thing that bothers me a little bit now is you can't deselect all routes, you always have to have 1 route selected, which means you first need to select new route and then deselect the route you were watching before. Maybe just make it so that it's possible to deselect all routes.
I guess only thing that bothers me a little bit now is you can't deselect all routes, you always have to have 1 route selected, which means you first need to select new route and then deselect the route you were watching before. Maybe just make it so that it's possible to deselect all routes.

-
Phoenixo_Idaho
- Posts: 380
- Joined: 2010-03-02 21:37
Re: Project Reality Mapviewer
Awesome tool for Commanders. Great job !
However, it would have been perfect with some scales indications and a ruler/a distance measurement tool (for assisting artillery or give more precises informations).
However, it would have been perfect with some scales indications and a ruler/a distance measurement tool (for assisting artillery or give more precises informations).
Phoenixo_Idaho ; Medic & Mortars Specialist
- Senshi
- PR:BF2 Developer
- Posts: 358
- Joined: 2010-04-29 10:44
Re: Project Reality Mapviewer
Distances: A scalebar should be in, yeah. Not having that is a shameful lapse on my end, considering I'm a somewhat professional cartographer
.
Simple distance measurements shouldn't be difficult to add either, that's pretty much Leaflet standard. Adding heightmap info would also be great (as in: altitude in m as a mouse tooltip and height difference in measurement), but that'd be a little more work.
Deselecting routes:
As in: You want to be able to see the empty map again? But why? The empty map doesn't give you anything?
The ability to select multiple routes was crucial for the PRT (which was the original target audience for the mapviewer). Commanders and battleplanners were happy to be able to filter specific routes.
Geez, I wanted to finish this, not add a whole bunch more work. It's summer, I got RL stuff to do
.
Simple distance measurements shouldn't be difficult to add either, that's pretty much Leaflet standard. Adding heightmap info would also be great (as in: altitude in m as a mouse tooltip and height difference in measurement), but that'd be a little more work.
Deselecting routes:
As in: You want to be able to see the empty map again? But why? The empty map doesn't give you anything?
The ability to select multiple routes was crucial for the PRT (which was the original target audience for the mapviewer). Commanders and battleplanners were happy to be able to filter specific routes.
Geez, I wanted to finish this, not add a whole bunch more work. It's summer, I got RL stuff to do
-
Madar_al_Fakar
- Posts: 225
- Joined: 2015-04-02 20:28
Re: Project Reality Mapviewer
Does it tell us the sizes of the maps? (in km's) cuz I haven't noticed that piece of information ;p
-
Michael_Denmark
- Posts: 2196
- Joined: 2006-07-10 09:07
Re: Project Reality Mapviewer
This is awesome. Thank you.
Define irony. A bunch of guys playing PR year after year. A game teaching initiative as the prime mover.
However, in regard to EA, these guys never took the initiative.
However, in regard to EA, these guys never took the initiative.


- Senshi
- PR:BF2 Developer
- Posts: 358
- Joined: 2010-04-29 10:44
Re: Project Reality Mapviewer
Updated.
Changelog
I looked into adding measurement tools, but the good ones I found either don't work for pixel-based maps or are not yet updated to Leaflet 1.0 which I use. I'm too lazy to write such a tool manually (it's more work than it might seem), so I'll just wait until the required plugins are updated. Then it'll be just three lines of code to add manually
.
Changelog
- Added labels to grid (A-N, 1-13), similar to ingame map
- Added scale bar at bottom
- Corrected coordinate reference system and tilelayers. Now distances are properly transformed for each map (not that obvious for users, but important for possible future measure stuff)
- Added "Delayed at start" information to asset list at the right (previously, it was only shown in the marker popups)
- Uploaded missing Asad Khal tiles (missed three low-res tiles)
- Added information about mapsize to map titles (both in gallery and on the maps themselves)
- Also fixed some minor layout flaws that most of you probably never noticed

I looked into adding measurement tools, but the good ones I found either don't work for pixel-based maps or are not yet updated to Leaflet 1.0 which I use. I'm too lazy to write such a tool manually (it's more work than it might seem), so I'll just wait until the required plugins are updated. Then it'll be just three lines of code to add manually
- Senshi
- PR:BF2 Developer
- Posts: 358
- Joined: 2010-04-29 10:44
-
dutch
- Posts: 333
- Joined: 2008-07-15 22:32
Re: Project Reality Mapviewer
awesome work, many thanks!!
[img]http://i.imgur.com/Jcuzeia.png?1[/img]
http://www.forgottenhonor.com
http://www.forgottenhonor.com
-
Nordhagen
- Posts: 1
- Joined: 2017-02-08 16:47
Re: Project Reality Mapviewer
Yes, I really like that....
- Senshi
- PR:BF2 Developer
- Posts: 358
- Joined: 2010-04-29 10:44
Re: Project Reality Mapviewer
Couple more updates in recent time:
- Updated to latest PR patch
- Fixed a nasty bug that prevented some of the newly updated assets on maps to not show at all
- Removed eternal caching: Instead of using data from the cache forever, the mapviewer will compare your local file with the server's every time now. It will still only download the new data if your cache is outdated.
Should prevent confusion with outdated info still showing despite me updating the server with the newest data
The "downside" is a extremely marginal larger bandwidth usage (for hash comparisons)
- Updated to latest PR patch
- Fixed a nasty bug that prevented some of the newly updated assets on maps to not show at all
- Removed eternal caching: Instead of using data from the cache forever, the mapviewer will compare your local file with the server's every time now. It will still only download the new data if your cache is outdated.
Should prevent confusion with outdated info still showing despite me updating the server with the newest data
The "downside" is a extremely marginal larger bandwidth usage (for hash comparisons)
- Senshi
- PR:BF2 Developer
- Posts: 358
- Joined: 2010-04-29 10:44
Re: Project Reality Mapviewer
Now that the official map gallery has received its massive overhaul and has implemented most of the ideas my implementation has, is there anything you guys miss in the new one that mine had or did better? If so, what?
If the new gallery fulfills all your needs, we'll probably take down the mapviewer entirely. Saves on server space, and keeps everything a bit more centralized. If it's minor things, we can maybe port them to the new gallery before getting rid of the old.
If the new gallery fulfills all your needs, we'll probably take down the mapviewer entirely. Saves on server space, and keeps everything a bit more centralized. If it's minor things, we can maybe port them to the new gallery before getting rid of the old.
- Mineral
- Retired PR Developer
- Posts: 8534
- Joined: 2012-01-02 12:37
- Location: Belgium
-
UTurista
- PR:BF2 Developer
- Posts: 985
- Joined: 2011-06-14 14:13
Re: Project Reality Mapviewer
For those not following realitymod's repo the new PR gallery is available: https://github.com/realitymod/PRGallery
edit: ninja'ed
edit: ninja'ed

Dont question the wikipedia! Just because it reports different things on different languages does not make it unreliable source!
-
chrisweb89
- Posts: 972
- Joined: 2008-06-16 05:08
Re: Project Reality Mapviewer
Turista, any chance of an updated prspy app? I use it all the time for player counts. The image it shows is updated, but not the asset list.
-
Generic PR Gamer
- Posts: 22
- Joined: 2013-10-23 19:53
Re: Project Reality Mapviewer
This is awesome. Question; would it be possible to replace the ingame maps with these hi-res, hi magnification versions ?




