Re: [pmapper-users] Northarrow for printing / downloading

2013-04-17 Thread Chris forum
Looks like we don't have the same pdfprint.php, there are some differencies
here and there.
Are you on pmapper 4.3 like I do?

Anyway, as mentionned you should add the north arrow code at the end of the
printPDF function. At least after map image has been drawn.

Works fine here when put at the very end after the following line:
$this->redFactor = $redFactor;

Hope it is going to work!


On Wed, Apr 17, 2013 at 9:59 AM, asko asko  wrote:

>
>   --
>  *Dari:* Chris forum 
> *Kepada:* cool_2x 
> *Cc:* pmapper-users 
> *Dikirim:* Rabu, 17 April 2013 13:33
> *Judul:* Re: [pmapper-users] Northarrow for printing / downloading
>
> Hi
>
> Let me have a look at your printPDF function please.
>
>
> On Tue, Apr 16, 2013 at 6:57 AM, cool_2x  wrote:
>
> I have use your code listing,(placed north arrow inside the map area) I put
> the listing code inside function
>
>  function printPDF($map, $pdfMapW, $pdfMapH, $printUrlList, $prScale)
> {
>
> }
>
> but north arrow display behind map area.
>
> <
> http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025145/northarrow.png
> >
>
> please guide again.. thankyu
>
>
>
>
>
>
> --
> View this message in context:
> http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Northarrow-for-printing-downloading-tp4024984p4025145.html
> Sent from the pmapper-users -- p.mapper users mailing list mailing list
> archive at Nabble.com.
>
>
> --
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>
>
>
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Northarrow for printing / downloading

2013-04-16 Thread Chris forum
Hi

Let me have a look at your printPDF function please.


On Tue, Apr 16, 2013 at 6:57 AM, cool_2x  wrote:

> I have use your code listing,(placed north arrow inside the map area) I put
> the listing code inside function
>
>  function printPDF($map, $pdfMapW, $pdfMapH, $printUrlList, $prScale)
> {
>
> }
>
> but north arrow display behind map area.
>
> <
> http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025145/northarrow.png
> >
>
> please guide again.. thankyu
>
>
>
>
>
>
> --
> View this message in context:
> http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Northarrow-for-printing-downloading-tp4024984p4025145.html
> Sent from the pmapper-users -- p.mapper users mailing list mailing list
> archive at Nabble.com.
>
>
> --
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Northarrow for printing / downloading

2013-04-15 Thread cool_2x
I have use your code listing,(placed north arrow inside the map area) I put
the listing code inside function

 function printPDF($map, $pdfMapW, $pdfMapH, $printUrlList, $prScale)
{

}

but north arrow display behind map area.

<http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025145/northarrow.png>
 

please guide again.. thankyu






--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Northarrow-for-printing-downloading-tp4024984p4025145.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Northarrow for printing / downloading

2013-03-21 Thread Chris forum
Hi,

The code of my last message is supposed to move the north arrow to the left
(=inside the map area) if there is a legend on the right:
$legendPos = $this->pdfSettings['legendposition'];
  if ($legendPos == "R") {
$this->Image($northArrow, $this->xLegStart-$northArrowWidth-10,
$this->topLineY+10, 0, $northArrowHeight);
}


On Tue, Mar 19, 2013 at 4:04 AM, cool_2x  wrote:

> thankyu for script, north arrrow displayed on html and pdf print (inside
> legend area)..
> so, how setting north arrow display inside map area like refference maps,
> scale..
> I look in script, but I dont get right script, please help me..
>
>
>
>
> --
> View this message in context:
> http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Northarrow-for-printing-downloading-tp4024984p4025105.html
> Sent from the pmapper-users -- p.mapper users mailing list mailing list
> archive at Nabble.com.
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Northarrow for printing / downloading

2013-03-18 Thread cool_2x
thankyu for script, north arrrow displayed on html and pdf print (inside
legend area)..
so, how setting north arrow display inside map area like refference maps,
scale..
I look in script, but I dont get right script, please help me.. 




--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Northarrow-for-printing-downloading-tp4024984p4025105.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Northarrow for printing / downloading

2013-03-15 Thread Serge Claudio Rafanoharana
Hi All,

Thank you and sorry for the late reply. I made it a couple of month ago
just by adding a layer northarrow.

Cheers,
Serge

On Thu, Mar 14, 2013 at 10:35 PM, Chris forum  wrote:

> Just noticed the arrow was inside the legend area when the latter is at
> the right position:
>
>
> //North Arrow on map
>  $northArrow = $this->pdfSettings['north_arrow'];
>   $imsize = getimagesize($northArrow);
>   list($pixw, $pixh) = $imsize;
>   $northArrowWidth = $pixw * $redFactor2;
>   $northArrowHeight = $pixh * $redFactor2;
>
>   //move arrow to the left if the legend is at the right position
>   $legendPos = $this->pdfSettings['legendposition'];
>   if ($legendPos == "R") {
> $this->Image($northArrow,
> $this->xLegStart-$northArrowWidth-10, $this->topLineY+10, 0,
> $northArrowHeight);
> }
>  else {
> $this->Image($northArrow, $this->xmaxM-$northArrowWidth-10,
> $this->topLineY+10, 0, $northArrowHeight);
> }
>
>
> **beware of the missing 'h' in my last message: $nortArrowWidth and
> $nortArrowHeight
>
>
>
> On Thu, Mar 14, 2013 at 3:55 PM, Chris forum  wrote:
>
>> Hi guys,
>>
>> Do the following in order to have a north arrow on your PDF print:
>>
>> 1) /common/print.xml
>> Add the following line into the  tag
>> ./images/logos/northarrow.png
>>
>> 2) /incphp/print/pdfprint.php
>> Add the following lines into the printPDF function, likely at the end
>> //North Arrow on map
>> $northArrow = $this->pdfSettings['north_arrow'];
>> $imsize = getimagesize($northArrow);
>> list($pixw, $pixh) = $imsize;
>> $nortArrowWidth = $pixw * $redFactor2;
>> $nortArrowHeight = $pixh * $redFactor2;
>> $this->Image($northArrow, $this->xmaxM-$nortArrowWidth-10,
>> $this->topLineY+10, 0, $nortArrowHeight);
>>
>> If you want a bigger arrow, replace $redFactor2 with $redFactor.
>>
>> Cheers,
>> Chris
>>
>>
>> On Tue, Jan 22, 2013 at 5:20 PM, Serge Claudio Rafanoharana <
>> rafanohar...@gmail.com> wrote:
>>
>>> Dear Chris,
>>>
>>> Thanks, I'll give it a try.
>>>
>>> Cheers,
>>> Serge
>>>
>>>
>>> On Tue, Jan 22, 2013 at 9:33 PM, Chris forum wrote:
>>>
 Hi Serge, Thomas,

 As I don't really like having a north arrow on my map, I have added the
 north arrow for the printing only.
 So far it only works for the HTML printing, I am working on the PDF
 print now and will let you know when (if) I get it to work.

 In /config/common/print.xml, inside the print_map_image DIV, add:
 >>> alt="north_arrow" style="position:absolute; right:10px; top:10px"/>

 Chris


 On Tue, Jan 22, 2013 at 3:21 PM, Serge Claudio Rafanoharana <
 rafanohar...@gmail.com> wrote:

> Dear Thomas,
>
> Changing the STATUS to ON and adding the layer in config resolved the
> problem. Meaning that I have to check/uncheck to enable/disable it. I
> don't
> know what's wrong with the STATUS DEFAULT.
>
> Both gif and png work fine. Other symbols (circle...) work fine as
> well. I
> think I will make this layer always ON (checked) and users would not be
> able to check or uncheck it. I think it is possible but I need to
> figure it
> out (I forget).
>
> Thank you,
>
> Cheers,
> Serge
>
> On Tue, Jan 22, 2013 at 8:54 PM, Thomas RAFFIN 
> wrote:
>
> > Yes, try with  SYMBOL 'circle'
> >
> > Le 22/01/2013 14:43, Serge Claudio Rafanoharana a écrit :
> > > Dear Thomas,
> > >
> > > What do you mean with other symbol? Do you mean change the
> > > STYLE
> > >SYMBOL 'northarrow'
> > >
> > > to something like
> > > STYLE
> > >SYMBOL 'circle'
> > > ?
> > >
> > > I tried with gif but it is the same, nothing.
> > > Yes, it is the last layer declared in the map file. I have no
> problem
> > > with other layers.
> > >
> > > PS: no php error.
> > >
> > >
> > > Cheers,
> > > Serge
> > >
> > >
> > > On Tue, Jan 22, 2013 at 7:54 PM, Thomas RAFFIN  > > > wrote:
> > >
> > > Else the other objects will be drawn
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Serge
> >
> >
> >
> --
> > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills
> current
> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> > MVPs and experts. ON SALE this month only -- learn more at:
> > http://p.sf.net/sfu/learnnow-d2d
> > ___
> > pmapper-users mailing list
> > pmapper-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
> >
>
>
>
> -

Re: [pmapper-users] Northarrow for printing / downloading

2013-03-14 Thread Chris forum
Just noticed the arrow was inside the legend area when the latter is at the
right position:

//North Arrow on map
 $northArrow = $this->pdfSettings['north_arrow'];
  $imsize = getimagesize($northArrow);
  list($pixw, $pixh) = $imsize;
  $northArrowWidth = $pixw * $redFactor2;
  $northArrowHeight = $pixh * $redFactor2;

  //move arrow to the left if the legend is at the right position
  $legendPos = $this->pdfSettings['legendposition'];
  if ($legendPos == "R") {
$this->Image($northArrow, $this->xLegStart-$northArrowWidth-10,
$this->topLineY+10, 0, $northArrowHeight);
}
 else {
$this->Image($northArrow, $this->xmaxM-$northArrowWidth-10,
$this->topLineY+10, 0, $northArrowHeight);
}


**beware of the missing 'h' in my last message: $nortArrowWidth and
$nortArrowHeight


On Thu, Mar 14, 2013 at 3:55 PM, Chris forum  wrote:

> Hi guys,
>
> Do the following in order to have a north arrow on your PDF print:
>
> 1) /common/print.xml
> Add the following line into the  tag
> ./images/logos/northarrow.png
>
> 2) /incphp/print/pdfprint.php
> Add the following lines into the printPDF function, likely at the end
> //North Arrow on map
> $northArrow = $this->pdfSettings['north_arrow'];
> $imsize = getimagesize($northArrow);
> list($pixw, $pixh) = $imsize;
> $nortArrowWidth = $pixw * $redFactor2;
> $nortArrowHeight = $pixh * $redFactor2;
> $this->Image($northArrow, $this->xmaxM-$nortArrowWidth-10,
> $this->topLineY+10, 0, $nortArrowHeight);
>
> If you want a bigger arrow, replace $redFactor2 with $redFactor.
>
> Cheers,
> Chris
>
>
> On Tue, Jan 22, 2013 at 5:20 PM, Serge Claudio Rafanoharana <
> rafanohar...@gmail.com> wrote:
>
>> Dear Chris,
>>
>> Thanks, I'll give it a try.
>>
>> Cheers,
>> Serge
>>
>>
>> On Tue, Jan 22, 2013 at 9:33 PM, Chris forum  wrote:
>>
>>> Hi Serge, Thomas,
>>>
>>> As I don't really like having a north arrow on my map, I have added the
>>> north arrow for the printing only.
>>> So far it only works for the HTML printing, I am working on the PDF
>>> print now and will let you know when (if) I get it to work.
>>>
>>> In /config/common/print.xml, inside the print_map_image DIV, add:
>>> >> alt="north_arrow" style="position:absolute; right:10px; top:10px"/>
>>>
>>> Chris
>>>
>>>
>>> On Tue, Jan 22, 2013 at 3:21 PM, Serge Claudio Rafanoharana <
>>> rafanohar...@gmail.com> wrote:
>>>
 Dear Thomas,

 Changing the STATUS to ON and adding the layer in config resolved the
 problem. Meaning that I have to check/uncheck to enable/disable it. I
 don't
 know what's wrong with the STATUS DEFAULT.

 Both gif and png work fine. Other symbols (circle...) work fine as
 well. I
 think I will make this layer always ON (checked) and users would not be
 able to check or uncheck it. I think it is possible but I need to
 figure it
 out (I forget).

 Thank you,

 Cheers,
 Serge

 On Tue, Jan 22, 2013 at 8:54 PM, Thomas RAFFIN 
 wrote:

 > Yes, try with  SYMBOL 'circle'
 >
 > Le 22/01/2013 14:43, Serge Claudio Rafanoharana a écrit :
 > > Dear Thomas,
 > >
 > > What do you mean with other symbol? Do you mean change the
 > > STYLE
 > >SYMBOL 'northarrow'
 > >
 > > to something like
 > > STYLE
 > >SYMBOL 'circle'
 > > ?
 > >
 > > I tried with gif but it is the same, nothing.
 > > Yes, it is the last layer declared in the map file. I have no
 problem
 > > with other layers.
 > >
 > > PS: no php error.
 > >
 > >
 > > Cheers,
 > > Serge
 > >
 > >
 > > On Tue, Jan 22, 2013 at 7:54 PM, Thomas RAFFIN >>> > > > wrote:
 > >
 > > Else the other objects will be drawn
 > >
 > >
 > >
 > >
 > >
 > > --
 > > Serge
 >
 >
 >
 --
 > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills
 current
 > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 > MVPs and experts. ON SALE this month only -- learn more at:
 > http://p.sf.net/sfu/learnnow-d2d
 > ___
 > pmapper-users mailing list
 > pmapper-users@lists.sourceforge.net
 > https://lists.sourceforge.net/lists/listinfo/pmapper-users
 >



 --
 Serge

 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only --

Re: [pmapper-users] Northarrow for printing / downloading

2013-03-14 Thread Chris forum
Hi guys,

Do the following in order to have a north arrow on your PDF print:

1) /common/print.xml
Add the following line into the  tag
./images/logos/northarrow.png

2) /incphp/print/pdfprint.php
Add the following lines into the printPDF function, likely at the end
//North Arrow on map
$northArrow = $this->pdfSettings['north_arrow'];
$imsize = getimagesize($northArrow);
list($pixw, $pixh) = $imsize;
$nortArrowWidth = $pixw * $redFactor2;
$nortArrowHeight = $pixh * $redFactor2;
$this->Image($northArrow, $this->xmaxM-$nortArrowWidth-10,
$this->topLineY+10, 0, $nortArrowHeight);

If you want a bigger arrow, replace $redFactor2 with $redFactor.

Cheers,
Chris

On Tue, Jan 22, 2013 at 5:20 PM, Serge Claudio Rafanoharana <
rafanohar...@gmail.com> wrote:

> Dear Chris,
>
> Thanks, I'll give it a try.
>
> Cheers,
> Serge
>
>
> On Tue, Jan 22, 2013 at 9:33 PM, Chris forum  wrote:
>
>> Hi Serge, Thomas,
>>
>> As I don't really like having a north arrow on my map, I have added the
>> north arrow for the printing only.
>> So far it only works for the HTML printing, I am working on the PDF print
>> now and will let you know when (if) I get it to work.
>>
>> In /config/common/print.xml, inside the print_map_image DIV, add:
>> > alt="north_arrow" style="position:absolute; right:10px; top:10px"/>
>>
>> Chris
>>
>>
>> On Tue, Jan 22, 2013 at 3:21 PM, Serge Claudio Rafanoharana <
>> rafanohar...@gmail.com> wrote:
>>
>>> Dear Thomas,
>>>
>>> Changing the STATUS to ON and adding the layer in config resolved the
>>> problem. Meaning that I have to check/uncheck to enable/disable it. I
>>> don't
>>> know what's wrong with the STATUS DEFAULT.
>>>
>>> Both gif and png work fine. Other symbols (circle...) work fine as well.
>>> I
>>> think I will make this layer always ON (checked) and users would not be
>>> able to check or uncheck it. I think it is possible but I need to figure
>>> it
>>> out (I forget).
>>>
>>> Thank you,
>>>
>>> Cheers,
>>> Serge
>>>
>>> On Tue, Jan 22, 2013 at 8:54 PM, Thomas RAFFIN  wrote:
>>>
>>> > Yes, try with  SYMBOL 'circle'
>>> >
>>> > Le 22/01/2013 14:43, Serge Claudio Rafanoharana a écrit :
>>> > > Dear Thomas,
>>> > >
>>> > > What do you mean with other symbol? Do you mean change the
>>> > > STYLE
>>> > >SYMBOL 'northarrow'
>>> > >
>>> > > to something like
>>> > > STYLE
>>> > >SYMBOL 'circle'
>>> > > ?
>>> > >
>>> > > I tried with gif but it is the same, nothing.
>>> > > Yes, it is the last layer declared in the map file. I have no problem
>>> > > with other layers.
>>> > >
>>> > > PS: no php error.
>>> > >
>>> > >
>>> > > Cheers,
>>> > > Serge
>>> > >
>>> > >
>>> > > On Tue, Jan 22, 2013 at 7:54 PM, Thomas RAFFIN >> > > > wrote:
>>> > >
>>> > > Else the other objects will be drawn
>>> > >
>>> > >
>>> > >
>>> > >
>>> > >
>>> > > --
>>> > > Serge
>>> >
>>> >
>>> >
>>> --
>>> > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>>> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>>> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>>> > MVPs and experts. ON SALE this month only -- learn more at:
>>> > http://p.sf.net/sfu/learnnow-d2d
>>> > ___
>>> > pmapper-users mailing list
>>> > pmapper-users@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>> >
>>>
>>>
>>>
>>> --
>>> Serge
>>>
>>> --
>>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>>> MVPs and experts. ON SALE this month only -- learn more at:
>>> http://p.sf.net/sfu/learnnow-d2d
>>> ___
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>
>>
>>
>
>
> --
> Serge
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Northarrow for printing / downloading

2013-01-22 Thread Serge Claudio Rafanoharana
Dear Chris,

Thanks, I'll give it a try.

Cheers,
Serge

On Tue, Jan 22, 2013 at 9:33 PM, Chris forum  wrote:

> Hi Serge, Thomas,
>
> As I don't really like having a north arrow on my map, I have added the
> north arrow for the printing only.
> So far it only works for the HTML printing, I am working on the PDF print
> now and will let you know when (if) I get it to work.
>
> In /config/common/print.xml, inside the print_map_image DIV, add:
>  alt="north_arrow" style="position:absolute; right:10px; top:10px"/>
>
> Chris
>
>
> On Tue, Jan 22, 2013 at 3:21 PM, Serge Claudio Rafanoharana <
> rafanohar...@gmail.com> wrote:
>
>> Dear Thomas,
>>
>> Changing the STATUS to ON and adding the layer in config resolved the
>> problem. Meaning that I have to check/uncheck to enable/disable it. I
>> don't
>> know what's wrong with the STATUS DEFAULT.
>>
>> Both gif and png work fine. Other symbols (circle...) work fine as well. I
>> think I will make this layer always ON (checked) and users would not be
>> able to check or uncheck it. I think it is possible but I need to figure
>> it
>> out (I forget).
>>
>> Thank you,
>>
>> Cheers,
>> Serge
>>
>> On Tue, Jan 22, 2013 at 8:54 PM, Thomas RAFFIN  wrote:
>>
>> > Yes, try with  SYMBOL 'circle'
>> >
>> > Le 22/01/2013 14:43, Serge Claudio Rafanoharana a écrit :
>> > > Dear Thomas,
>> > >
>> > > What do you mean with other symbol? Do you mean change the
>> > > STYLE
>> > >SYMBOL 'northarrow'
>> > >
>> > > to something like
>> > > STYLE
>> > >SYMBOL 'circle'
>> > > ?
>> > >
>> > > I tried with gif but it is the same, nothing.
>> > > Yes, it is the last layer declared in the map file. I have no problem
>> > > with other layers.
>> > >
>> > > PS: no php error.
>> > >
>> > >
>> > > Cheers,
>> > > Serge
>> > >
>> > >
>> > > On Tue, Jan 22, 2013 at 7:54 PM, Thomas RAFFIN > > > > wrote:
>> > >
>> > > Else the other objects will be drawn
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > --
>> > > Serge
>> >
>> >
>> >
>> --
>> > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> > MVPs and experts. ON SALE this month only -- learn more at:
>> > http://p.sf.net/sfu/learnnow-d2d
>> > ___
>> > pmapper-users mailing list
>> > pmapper-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
>> >
>>
>>
>>
>> --
>> Serge
>>
>> --
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. ON SALE this month only -- learn more at:
>> http://p.sf.net/sfu/learnnow-d2d
>> ___
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>
>
>


-- 
Serge
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Northarrow for printing / downloading

2013-01-22 Thread Chris forum
Hi Serge, Thomas,

As I don't really like having a north arrow on my map, I have added the
north arrow for the printing only.
So far it only works for the HTML printing, I am working on the PDF print
now and will let you know when (if) I get it to work.

In /config/common/print.xml, inside the print_map_image DIV, add:


Chris

On Tue, Jan 22, 2013 at 3:21 PM, Serge Claudio Rafanoharana <
rafanohar...@gmail.com> wrote:

> Dear Thomas,
>
> Changing the STATUS to ON and adding the layer in config resolved the
> problem. Meaning that I have to check/uncheck to enable/disable it. I don't
> know what's wrong with the STATUS DEFAULT.
>
> Both gif and png work fine. Other symbols (circle...) work fine as well. I
> think I will make this layer always ON (checked) and users would not be
> able to check or uncheck it. I think it is possible but I need to figure it
> out (I forget).
>
> Thank you,
>
> Cheers,
> Serge
>
> On Tue, Jan 22, 2013 at 8:54 PM, Thomas RAFFIN  wrote:
>
> > Yes, try with  SYMBOL 'circle'
> >
> > Le 22/01/2013 14:43, Serge Claudio Rafanoharana a écrit :
> > > Dear Thomas,
> > >
> > > What do you mean with other symbol? Do you mean change the
> > > STYLE
> > >SYMBOL 'northarrow'
> > >
> > > to something like
> > > STYLE
> > >SYMBOL 'circle'
> > > ?
> > >
> > > I tried with gif but it is the same, nothing.
> > > Yes, it is the last layer declared in the map file. I have no problem
> > > with other layers.
> > >
> > > PS: no php error.
> > >
> > >
> > > Cheers,
> > > Serge
> > >
> > >
> > > On Tue, Jan 22, 2013 at 7:54 PM, Thomas RAFFIN  > > > wrote:
> > >
> > > Else the other objects will be drawn
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Serge
> >
> >
> >
> --
> > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> > MVPs and experts. ON SALE this month only -- learn more at:
> > http://p.sf.net/sfu/learnnow-d2d
> > ___
> > pmapper-users mailing list
> > pmapper-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
> >
>
>
>
> --
> Serge
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
<>--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Northarrow for printing / downloading

2013-01-22 Thread Serge Claudio Rafanoharana
Dear Thomas,

Changing the STATUS to ON and adding the layer in config resolved the
problem. Meaning that I have to check/uncheck to enable/disable it. I don't
know what's wrong with the STATUS DEFAULT.

Both gif and png work fine. Other symbols (circle...) work fine as well. I
think I will make this layer always ON (checked) and users would not be
able to check or uncheck it. I think it is possible but I need to figure it
out (I forget).

Thank you,

Cheers,
Serge

On Tue, Jan 22, 2013 at 8:54 PM, Thomas RAFFIN  wrote:

> Yes, try with  SYMBOL 'circle'
>
> Le 22/01/2013 14:43, Serge Claudio Rafanoharana a écrit :
> > Dear Thomas,
> >
> > What do you mean with other symbol? Do you mean change the
> > STYLE
> >SYMBOL 'northarrow'
> >
> > to something like
> > STYLE
> >SYMBOL 'circle'
> > ?
> >
> > I tried with gif but it is the same, nothing.
> > Yes, it is the last layer declared in the map file. I have no problem
> > with other layers.
> >
> > PS: no php error.
> >
> >
> > Cheers,
> > Serge
> >
> >
> > On Tue, Jan 22, 2013 at 7:54 PM, Thomas RAFFIN  > > wrote:
> >
> > Else the other objects will be drawn
> >
> >
> >
> >
> >
> > --
> > Serge
>
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>



-- 
Serge
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Northarrow for printing / downloading

2013-01-22 Thread Thomas RAFFIN
Yes, try with  SYMBOL 'circle'

Le 22/01/2013 14:43, Serge Claudio Rafanoharana a écrit :
> Dear Thomas,
>
> What do you mean with other symbol? Do you mean change the
> STYLE
>SYMBOL 'northarrow'
>
> to something like
> STYLE
>SYMBOL 'circle'
> ?
>
> I tried with gif but it is the same, nothing.
> Yes, it is the last layer declared in the map file. I have no problem 
> with other layers.
>
> PS: no php error.
>
>
> Cheers,
> Serge
>
>
> On Tue, Jan 22, 2013 at 7:54 PM, Thomas RAFFIN  > wrote:
>
> Else the other objects will be drawn
>
>
>
>
>
> -- 
> Serge

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Northarrow for printing / downloading

2013-01-22 Thread Serge Claudio Rafanoharana
Dear Thomas,

What do you mean with other symbol? Do you mean change the
STYLE
 SYMBOL 'northarrow'

to something like
STYLE
 SYMBOL 'circle'
?

I tried with gif but it is the same, nothing.
Yes, it is the last layer declared in the map file. I have no problem with
other layers.

PS: no php error.


Cheers,
Serge


On Tue, Jan 22, 2013 at 7:54 PM, Thomas RAFFIN  wrote:

> Else the other objects will be drawn





-- 
Serge
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Northarrow for printing / downloading

2013-01-22 Thread Thomas RAFFIN
Is it the last layer declared ? Else the other objects will be drawn 
after...

Le 22/01/2013 13:50, Thomas RAFFIN a écrit :
> The legend is not use.
>
> Have you try with an other symbol (type vector or ellipse) that works in
> other layer?
>
> Have you PHP errors / warnings ?
>
> Le 22/01/2013 13:09, Serge Claudio Rafanoharana a écrit :
>> Dear Thomas,
>>
>> Yes, I have the SYMBOL:
>>
>> SYMBOL #North Arrow
>> NAME "northarrow"
>> TYPE pixmap
>> IMAGE "../../images/northarrow.png"
>> END
>>
>> and here is my layer:
>>
>> LAYER
>>   NAME "northarrow"
>>   METADATA
>>   DESCRIPTION "North arrow"
>>   END
>>   STATUS DEFAULT
>>   #TRANSFORM lr
>>   TRANSFORM cc
>>   TYPE POINT
>>   FEATURE
>>   POINTS
>>   0 0
>>   END
>>   END
>>   CLASS
>>   STYLE
>>   SYMBOL 'northarrow'
>>   SIZE 50
>>   #OFFSET -20 -30
>> OFFSET 0 0
>>   END
>>   END
>> END
>>
>> but nothing happens. No error. Firebug gives no error.
>>
>> PS: I have "northarrow_i0.png" inside "...\images\legend\" folder
>> which is 18x14 pixels.
>>
>> Cheers,
>> Serge
>>
>> On Tue, Jan 22, 2013 at 6:37 PM, Thomas RAFFIN > > wrote:
>>
>>  Hi,
>>
>>  There should be something wrong with your symbol. It should works.
>>
>>  Your symbol definition have to be included in your mapfile of course,
>>  and the path is relative to tour mapfile (then if not found here,
>>  to the
>>  "shapepath"), or absolute.
>>
>>  Here is and example of a "pixmap symbol":
>>  SYMBOL
>>   NAME "your_symbol_name"
>>   TYPE pixmap
>>   IMAGE "relative_path_from_your_mapfile/northarrow.gif"
>>  END
>>
>>  Test ideas:
>>  - try with a vectorial symbol you have already use in layers...
>>  - test with "TANSFORM cc" and "OFFSET 0 0" : the symbol should be
>>  in the
>>  center of map's image
>>
>>  Le 22/01/2013 12:07, Serge Claudio Rafanoharana a écrit :
>>  > Dear Thomas,
>>  >
>>  > Thanks for your reply. I added this layer but nothing happens. I
>>  tried
>>  > to modify the TRANSFORM and OFFSET but nothing...
>>  >
>>  > I am just wondering about this part:
>>  > SYMBOL 'your_symbol_name'
>>  >
>>  > I added my symbol inside the "...\config\common\symbols\" which is a
>>  > png file and changed my "your_symbol_name" accordingly. Is that
>>  right?
>>  >
>>  > Is there any other configurations to be done?
>>  >
>>  > PS: the page doesn't give any error.
>>  >
>>  > Thanks again,
>>  > Serge
>>  >
>>  >
>>  > On Tue, Jan 22, 2013 at 2:59 PM, Thomas RAFFIN >  
>>  > >> wrote:
>>  >
>>  > Hi,
>>  >
>>  > To include a noth arrow on every image (UI, printing and
>>  > download), you
>>  > could add this layer in your mapfile :
>>  > LAYER
>>  >  NAME "NorthArrow"
>>  >  METADATA
>>  >  DESCRIPTION "North arrow"
>>  >  END
>>  >  STATUS DEFAULT
>>  >  TRANSFORM lr
>>  >  TYPE POINT
>>  >  FEATURE
>>  >  POINTS
>>  >  0 0
>>  >  END
>>  >  END
>>  >  CLASS
>>  >  STYLE
>>  >  SYMBOL 'your_symbol_name'
>>  >  SIZE 50
>>  >  OFFSET -20 -30
>>  >  END
>>  >  END
>>  > END
>>  >
>>  > No need to add it in your catégories / groups, because it
>>  has "STATUS
>>  > DEFAULT".
>>  >
>>  > Just adapt the "TRANSFORM" and "OFFSET" values.
>>  >
>>  > Thomas
>>  >
>>  > Le 22/01/2013 03:35, Serge Claudio Rafanoharana a écrit :
>>  > > Dear All,
>>  > >
>>  > > Is there any way to include a northarrow for downloading /
>>  > printing in
>>  > > pmapper 4.2 or 4.3?
>>  > > Or if you can let me know which file should I modify?
>>  > >
>>  > > Best regards,
>>  > >
>>  >
>>  >
>>  >
>>  
>> --
>>  > Master Visual Studio, SharePoint, SQL, ASP.NET
>>   ,
>>  > C# 2012, HTML5, CSS,
>>  > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills
>>  > current
>>  > with LearnDevNow - 3,200 step-by-step video tutorials by
>>  Microsoft
>>  > MVPs and experts. ON SALE this month only -- learn more at:
>>  > http://p.sf.net/sfu/learnnow-d2d
>>  > ___
>>  > pmapper-users mailing list
>>  > pmapper

Re: [pmapper-users] Northarrow for printing / downloading

2013-01-22 Thread Thomas RAFFIN
You should try with gif image too...

Le 22/01/2013 13:50, Thomas RAFFIN a écrit :
> The legend is not use.
>
> Have you try with an other symbol (type vector or ellipse) that works 
> in other layer?
>
> Have you PHP errors / warnings ?
>
> Le 22/01/2013 13:09, Serge Claudio Rafanoharana a écrit :
>> Dear Thomas,
>>
>> Yes, I have the SYMBOL:
>>
>> SYMBOL #North Arrow
>> NAME "northarrow"
>> TYPE pixmap
>> IMAGE "../../images/northarrow.png"
>> END
>>
>> and here is my layer:
>>
>> LAYER
>>  NAME "northarrow"
>>  METADATA
>>  DESCRIPTION "North arrow"
>>  END
>>  STATUS DEFAULT
>>  #TRANSFORM lr
>>  TRANSFORM cc
>>  TYPE POINT
>>  FEATURE
>>  POINTS
>>  0 0
>>  END
>>  END
>>  CLASS
>>  STYLE
>>  SYMBOL 'northarrow'
>>  SIZE 50
>>  #OFFSET -20 -30
>> OFFSET 0 0
>>  END
>>  END
>> END
>>
>> but nothing happens. No error. Firebug gives no error.
>>
>> PS: I have "northarrow_i0.png" inside "...\images\legend\" folder 
>> which is 18x14 pixels.
>>
>> Cheers,
>> Serge
>>
>> On Tue, Jan 22, 2013 at 6:37 PM, Thomas RAFFIN > > wrote:
>>
>> Hi,
>>
>> There should be something wrong with your symbol. It should works.
>>
>> Your symbol definition have to be included in your mapfile of course,
>> and the path is relative to tour mapfile (then if not found here,
>> to the
>> "shapepath"), or absolute.
>>
>> Here is and example of a "pixmap symbol":
>> SYMBOL
>>  NAME "your_symbol_name"
>>  TYPE pixmap
>>  IMAGE "relative_path_from_your_mapfile/northarrow.gif"
>> END
>>
>> Test ideas:
>> - try with a vectorial symbol you have already use in layers...
>> - test with "TANSFORM cc" and "OFFSET 0 0" : the symbol should be
>> in the
>> center of map's image
>>
>> Le 22/01/2013 12:07, Serge Claudio Rafanoharana a écrit :
>> > Dear Thomas,
>> >
>> > Thanks for your reply. I added this layer but nothing happens.
>> I tried
>> > to modify the TRANSFORM and OFFSET but nothing...
>> >
>> > I am just wondering about this part:
>> > SYMBOL 'your_symbol_name'
>> >
>> > I added my symbol inside the "...\config\common\symbols\" which
>> is a
>> > png file and changed my "your_symbol_name" accordingly. Is that
>> right?
>> >
>> > Is there any other configurations to be done?
>> >
>> > PS: the page doesn't give any error.
>> >
>> > Thanks again,
>> > Serge
>> >
>> >
>> > On Tue, Jan 22, 2013 at 2:59 PM, Thomas RAFFIN
>> mailto:traf...@sirap.fr>
>> > >> wrote:
>> >
>> > Hi,
>> >
>> > To include a noth arrow on every image (UI, printing and
>> > download), you
>> > could add this layer in your mapfile :
>> > LAYER
>> >  NAME "NorthArrow"
>> >  METADATA
>> >  DESCRIPTION "North arrow"
>> >  END
>> >  STATUS DEFAULT
>> >  TRANSFORM lr
>> >  TYPE POINT
>> >  FEATURE
>> >  POINTS
>> >  0 0
>> >  END
>> >  END
>> >  CLASS
>> >  STYLE
>> >  SYMBOL 'your_symbol_name'
>> >  SIZE 50
>> >  OFFSET -20 -30
>> >  END
>> >  END
>> > END
>> >
>> > No need to add it in your catégories / groups, because it
>> has "STATUS
>> > DEFAULT".
>> >
>> > Just adapt the "TRANSFORM" and "OFFSET" values.
>> >
>> > Thomas
>> >
>> > Le 22/01/2013 03:35, Serge Claudio Rafanoharana a écrit :
>> > > Dear All,
>> > >
>> > > Is there any way to include a northarrow for downloading /
>> > printing in
>> > > pmapper 4.2 or 4.3?
>> > > Or if you can let me know which file should I modify?
>> > >
>> > > Best regards,
>> > >
>> >
>> >
>> >
>> 
>> --
>> > Master Visual Studio, SharePoint, SQL, ASP.NET
>>  ,
>> > C# 2012, HTML5, CSS,
>> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills
>> > current
>> > with LearnDevNow - 3,200 step-by-step video tutorials by
>> Microsoft
>> > MVPs and experts. ON SALE this month only -- learn more at:
>> > http://p.sf.net/sfu/learnnow-d2d
>> > ___
>> > pmapper-users mailing list
>> > pmapper-users@lists.sourceforge.net
>> 
>> > > 

Re: [pmapper-users] Northarrow for printing / downloading

2013-01-22 Thread Thomas RAFFIN
The legend is not use.

Have you try with an other symbol (type vector or ellipse) that works in 
other layer?

Have you PHP errors / warnings ?

Le 22/01/2013 13:09, Serge Claudio Rafanoharana a écrit :
> Dear Thomas,
>
> Yes, I have the SYMBOL:
>
> SYMBOL #North Arrow
> NAME "northarrow"
> TYPE pixmap
> IMAGE "../../images/northarrow.png"
> END
>
> and here is my layer:
>
> LAYER
>  NAME "northarrow"
>  METADATA
>  DESCRIPTION "North arrow"
>  END
>  STATUS DEFAULT
>  #TRANSFORM lr
>  TRANSFORM cc
>  TYPE POINT
>  FEATURE
>  POINTS
>  0 0
>  END
>  END
>  CLASS
>  STYLE
>  SYMBOL 'northarrow'
>  SIZE 50
>  #OFFSET -20 -30
> OFFSET 0 0
>  END
>  END
> END
>
> but nothing happens. No error. Firebug gives no error.
>
> PS: I have "northarrow_i0.png" inside "...\images\legend\" folder 
> which is 18x14 pixels.
>
> Cheers,
> Serge
>
> On Tue, Jan 22, 2013 at 6:37 PM, Thomas RAFFIN  > wrote:
>
> Hi,
>
> There should be something wrong with your symbol. It should works.
>
> Your symbol definition have to be included in your mapfile of course,
> and the path is relative to tour mapfile (then if not found here,
> to the
> "shapepath"), or absolute.
>
> Here is and example of a "pixmap symbol":
> SYMBOL
>  NAME "your_symbol_name"
>  TYPE pixmap
>  IMAGE "relative_path_from_your_mapfile/northarrow.gif"
> END
>
> Test ideas:
> - try with a vectorial symbol you have already use in layers...
> - test with "TANSFORM cc" and "OFFSET 0 0" : the symbol should be
> in the
> center of map's image
>
> Le 22/01/2013 12:07, Serge Claudio Rafanoharana a écrit :
> > Dear Thomas,
> >
> > Thanks for your reply. I added this layer but nothing happens. I
> tried
> > to modify the TRANSFORM and OFFSET but nothing...
> >
> > I am just wondering about this part:
> > SYMBOL 'your_symbol_name'
> >
> > I added my symbol inside the "...\config\common\symbols\" which is a
> > png file and changed my "your_symbol_name" accordingly. Is that
> right?
> >
> > Is there any other configurations to be done?
> >
> > PS: the page doesn't give any error.
> >
> > Thanks again,
> > Serge
> >
> >
> > On Tue, Jan 22, 2013 at 2:59 PM, Thomas RAFFIN  
> > >> wrote:
> >
> > Hi,
> >
> > To include a noth arrow on every image (UI, printing and
> > download), you
> > could add this layer in your mapfile :
> > LAYER
> >  NAME "NorthArrow"
> >  METADATA
> >  DESCRIPTION "North arrow"
> >  END
> >  STATUS DEFAULT
> >  TRANSFORM lr
> >  TYPE POINT
> >  FEATURE
> >  POINTS
> >  0 0
> >  END
> >  END
> >  CLASS
> >  STYLE
> >  SYMBOL 'your_symbol_name'
> >  SIZE 50
> >  OFFSET -20 -30
> >  END
> >  END
> > END
> >
> > No need to add it in your catégories / groups, because it
> has "STATUS
> > DEFAULT".
> >
> > Just adapt the "TRANSFORM" and "OFFSET" values.
> >
> > Thomas
> >
> > Le 22/01/2013 03:35, Serge Claudio Rafanoharana a écrit :
> > > Dear All,
> > >
> > > Is there any way to include a northarrow for downloading /
> > printing in
> > > pmapper 4.2 or 4.3?
> > > Or if you can let me know which file should I modify?
> > >
> > > Best regards,
> > >
> >
> >
> >
> 
> --
> > Master Visual Studio, SharePoint, SQL, ASP.NET
>  ,
> > C# 2012, HTML5, CSS,
> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills
> > current
> > with LearnDevNow - 3,200 step-by-step video tutorials by
> Microsoft
> > MVPs and experts. ON SALE this month only -- learn more at:
> > http://p.sf.net/sfu/learnnow-d2d
> > ___
> > pmapper-users mailing list
> > pmapper-users@lists.sourceforge.net
> 
> >  >
> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
> >
> >
> >
> >
> > --
> > Serge
>
> 
> --
> Master Vi

Re: [pmapper-users] Northarrow for printing / downloading

2013-01-22 Thread Serge Claudio Rafanoharana
Dear Thomas,

Yes, I have the SYMBOL:

SYMBOL #North Arrow
 NAME "northarrow"
 TYPE pixmap
 IMAGE "../../images/northarrow.png"
END

and here is my layer:

LAYER
 NAME "northarrow"
 METADATA
 DESCRIPTION "North arrow"
 END
 STATUS DEFAULT
 #TRANSFORM lr
 TRANSFORM cc
 TYPE POINT
 FEATURE
 POINTS
 0 0
 END
 END

 CLASS
 STYLE
 SYMBOL 'northarrow'
 SIZE 50
 #OFFSET -20 -30
   OFFSET 0 0
 END
 END
END

but nothing happens. No error. Firebug gives no error.

PS: I have "northarrow_i0.png" inside "...\images\legend\" folder which is
18x14 pixels.

Cheers,
Serge

On Tue, Jan 22, 2013 at 6:37 PM, Thomas RAFFIN  wrote:

> Hi,
>
> There should be something wrong with your symbol. It should works.
>
> Your symbol definition have to be included in your mapfile of course,
> and the path is relative to tour mapfile (then if not found here, to the
> "shapepath"), or absolute.
>
> Here is and example of a "pixmap symbol":
> SYMBOL
>  NAME "your_symbol_name"
>  TYPE pixmap
>  IMAGE "relative_path_from_your_mapfile/northarrow.gif"
> END
>
> Test ideas:
> - try with a vectorial symbol you have already use in layers...
> - test with "TANSFORM cc" and "OFFSET 0 0" : the symbol should be in the
> center of map's image
>
> Le 22/01/2013 12:07, Serge Claudio Rafanoharana a écrit :
> > Dear Thomas,
> >
> > Thanks for your reply. I added this layer but nothing happens. I tried
> > to modify the TRANSFORM and OFFSET but nothing...
> >
> > I am just wondering about this part:
> > SYMBOL 'your_symbol_name'
> >
> > I added my symbol inside the "...\config\common\symbols\" which is a
> > png file and changed my "your_symbol_name" accordingly. Is that right?
> >
> > Is there any other configurations to be done?
> >
> > PS: the page doesn't give any error.
> >
> > Thanks again,
> > Serge
> >
> >
> > On Tue, Jan 22, 2013 at 2:59 PM, Thomas RAFFIN  > > wrote:
> >
> > Hi,
> >
> > To include a noth arrow on every image (UI, printing and
> > download), you
> > could add this layer in your mapfile :
> > LAYER
> >  NAME "NorthArrow"
> >  METADATA
> >  DESCRIPTION "North arrow"
> >  END
> >  STATUS DEFAULT
> >  TRANSFORM lr
> >  TYPE POINT
> >  FEATURE
> >  POINTS
> >  0 0
> >  END
> >  END
> >  CLASS
> >  STYLE
> >  SYMBOL 'your_symbol_name'
> >  SIZE 50
> >  OFFSET -20 -30
> >  END
> >  END
> > END
> >
> > No need to add it in your catégories / groups, because it has "STATUS
> > DEFAULT".
> >
> > Just adapt the "TRANSFORM" and "OFFSET" values.
> >
> > Thomas
> >
> > Le 22/01/2013 03:35, Serge Claudio Rafanoharana a écrit :
> > > Dear All,
> > >
> > > Is there any way to include a northarrow for downloading /
> > printing in
> > > pmapper 4.2 or 4.3?
> > > Or if you can let me know which file should I modify?
> > >
> > > Best regards,
> > >
> >
> >
> >
> --
> > Master Visual Studio, SharePoint, SQL, ASP.NET ,
> > C# 2012, HTML5, CSS,
> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills
> > current
> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> > MVPs and experts. ON SALE this month only -- learn more at:
> > http://p.sf.net/sfu/learnnow-d2d
> > ___
> > pmapper-users mailing list
> > pmapper-users@lists.sourceforge.net
> > 
> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
> >
> >
> >
> >
> > --
> > Serge
>
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>



-- 
Serge
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
pmapper-us

Re: [pmapper-users] Northarrow for printing / downloading

2013-01-22 Thread Thomas RAFFIN
Hi,

There should be something wrong with your symbol. It should works.

Your symbol definition have to be included in your mapfile of course, 
and the path is relative to tour mapfile (then if not found here, to the 
"shapepath"), or absolute.

Here is and example of a "pixmap symbol":
SYMBOL
 NAME "your_symbol_name"
 TYPE pixmap
 IMAGE "relative_path_from_your_mapfile/northarrow.gif"
END

Test ideas:
- try with a vectorial symbol you have already use in layers...
- test with "TANSFORM cc" and "OFFSET 0 0" : the symbol should be in the 
center of map's image

Le 22/01/2013 12:07, Serge Claudio Rafanoharana a écrit :
> Dear Thomas,
>
> Thanks for your reply. I added this layer but nothing happens. I tried 
> to modify the TRANSFORM and OFFSET but nothing...
>
> I am just wondering about this part:
> SYMBOL 'your_symbol_name'
>
> I added my symbol inside the "...\config\common\symbols\" which is a 
> png file and changed my "your_symbol_name" accordingly. Is that right?
>
> Is there any other configurations to be done?
>
> PS: the page doesn't give any error.
>
> Thanks again,
> Serge
>
>
> On Tue, Jan 22, 2013 at 2:59 PM, Thomas RAFFIN  > wrote:
>
> Hi,
>
> To include a noth arrow on every image (UI, printing and
> download), you
> could add this layer in your mapfile :
> LAYER
>  NAME "NorthArrow"
>  METADATA
>  DESCRIPTION "North arrow"
>  END
>  STATUS DEFAULT
>  TRANSFORM lr
>  TYPE POINT
>  FEATURE
>  POINTS
>  0 0
>  END
>  END
>  CLASS
>  STYLE
>  SYMBOL 'your_symbol_name'
>  SIZE 50
>  OFFSET -20 -30
>  END
>  END
> END
>
> No need to add it in your catégories / groups, because it has "STATUS
> DEFAULT".
>
> Just adapt the "TRANSFORM" and "OFFSET" values.
>
> Thomas
>
> Le 22/01/2013 03:35, Serge Claudio Rafanoharana a écrit :
> > Dear All,
> >
> > Is there any way to include a northarrow for downloading /
> printing in
> > pmapper 4.2 or 4.3?
> > Or if you can let me know which file should I modify?
> >
> > Best regards,
> >
>
>
> 
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET ,
> C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills
> current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> 
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>
>
> -- 
> Serge 

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Northarrow for printing / downloading

2013-01-22 Thread Serge Claudio Rafanoharana
Dear Thomas,

Thanks for your reply. I added this layer but nothing happens. I tried to
modify the TRANSFORM and OFFSET but nothing...

I am just wondering about this part:
SYMBOL 'your_symbol_name'

I added my symbol inside the "...\config\common\symbols\" which is a png
file and changed my "your_symbol_name" accordingly. Is that right?

Is there any other configurations to be done?

PS: the page doesn't give any error.

Thanks again,
Serge


On Tue, Jan 22, 2013 at 2:59 PM, Thomas RAFFIN  wrote:

> Hi,
>
> To include a noth arrow on every image (UI, printing and download), you
> could add this layer in your mapfile :
> LAYER
>  NAME "NorthArrow"
>  METADATA
>  DESCRIPTION "North arrow"
>  END
>  STATUS DEFAULT
>  TRANSFORM lr
>  TYPE POINT
>  FEATURE
>  POINTS
>  0 0
>  END
>  END
>  CLASS
>  STYLE
>  SYMBOL 'your_symbol_name'
>  SIZE 50
>  OFFSET -20 -30
>  END
>  END
> END
>
> No need to add it in your catégories / groups, because it has "STATUS
> DEFAULT".
>
> Just adapt the "TRANSFORM" and "OFFSET" values.
>
> Thomas
>
> Le 22/01/2013 03:35, Serge Claudio Rafanoharana a écrit :
> > Dear All,
> >
> > Is there any way to include a northarrow for downloading / printing in
> > pmapper 4.2 or 4.3?
> > Or if you can let me know which file should I modify?
> >
> > Best regards,
> >
>
>
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>



-- 
Serge
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Northarrow for printing / downloading

2013-01-22 Thread Thomas RAFFIN
Hi,

To include a noth arrow on every image (UI, printing and download), you 
could add this layer in your mapfile :
LAYER
 NAME "NorthArrow"
 METADATA
 DESCRIPTION "North arrow"
 END
 STATUS DEFAULT
 TRANSFORM lr
 TYPE POINT
 FEATURE
 POINTS
 0 0
 END
 END
 CLASS
 STYLE
 SYMBOL 'your_symbol_name'
 SIZE 50
 OFFSET -20 -30
 END
 END
END

No need to add it in your catégories / groups, because it has "STATUS 
DEFAULT".

Just adapt the "TRANSFORM" and "OFFSET" values.

Thomas

Le 22/01/2013 03:35, Serge Claudio Rafanoharana a écrit :
> Dear All,
>
> Is there any way to include a northarrow for downloading / printing in
> pmapper 4.2 or 4.3?
> Or if you can let me know which file should I modify?
>
> Best regards,
>


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Northarrow for printing / downloading

2013-01-21 Thread Serge Claudio Rafanoharana
Dear All,

Is there any way to include a northarrow for downloading / printing in
pmapper 4.2 or 4.3?
Or if you can let me know which file should I modify?

Best regards,

-- 
Serge
--
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users