Hello, 

Thanks Oliver it works as expected, no more blue dots. 

Le 21.10.2016 15:06, Oliver Eichler a écrit :

> Hi,
> 
> you can even skip the complete if clause if you want.
> 
> Oliver
> 
> Am 21.10.2016 um 10:26 schrieb [email protected]: 
> Thanks Oliver,
> 
> This is now clear : BaseCamp reveals the 2 icons :
> 
> There are 2 icons stacked at the same place.
> 
> Now I have to convince Felix from OpenMTBMap to modify this.
> 
> By the way it explains why the blue bucket for "Drinking water" never
> shows up in QMS : there are in fact 2 stacked icons and then I get a
> blue dot (toilets are OK...) :
> 
> Waiting for Felix fix, can I deactivate blue dots like this ? :
> 
> /      if(isCluttered(rectPois, QRectF(pt->pos, size)))/
> /        {/
> /            p.drawImage(pt->pos.x() - (size.width()/2), pt->pos.y()-
> (size.height()/2), icon);/
> /            ++pt;/
> /            continue;/
> /        }/
> 
> bye,
> 
> zero
> 
> Le 21.10.2016 08:27, Oliver Eichler a écrit :
> 
> Here is the snippet from the code:
> 
> if(isCluttered(rectPois, QRectF(pt->pos, size)))
> {
> if(size.width() <= 8 && size.height() <= 8)
> {
> p.drawImage(pt->pos.x() - (size.width()/2), pt->pos.y()
> - (size.height()/2), icon);
> }
> else
> {
> p.drawPixmap(pt->pos.x() - 4, pt->pos.y() - 4,
> QPixmap(":/icons/8x8/bullet_blue.png"));
> }
> ++pt;
> continue;
> }
> 
> This means if the icon would clutter the screen - reads: colliding with
> another icon - and it's size is larger than 8x8 pixel, it's replaced by
> a blue dot.
> 
> My guess is that on your map there are two icons at the same place.
> Maybe even showing the same information twice.
> 
> Your options are:
> 
> * make sure there aren't too many large icons around.
> 
> * accept it and use the map tool tip to get the text attached to the POI.
> 
> Oliver
> 
> Am 21.10.2016 um 08:09 schrieb Oliver Eichler: Hi
> 
> this is the same as in QLGT. At a certain zoom level POI icons are
> converted to dots to keep them from cluttering the map.
> 
> HTH
> 
> Oliver
> 
> Am 20.10.2016 um 16:57 schrieb [email protected]: Hello,
> 
> I recently added some mtb:scale points to OpenStreetMap.
> 
> Then I downloaded the corresponding map from OpenMtbMap.
> 
> mtb:scale points are drawn as numbers : "3" means : "here there is an
> mtb:scale=3 rock". This is OK when at some zoom levels, but when
> zooming in, the "3" is changed into a blue dot, which makes it quite
> useless. With Basecamp this is rendered corrrectly :
> 
> Is there something to be done to display "3" with QMapShack ?
> 
> Thanks in advance for your help,
> 
> zero
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> 
> _______________________________________________
> Qlandkartegt-users mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Qlandkartegt-users mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to