Hi!
try to use CSS and DIV tags...
http://www.w3schools.com/Css/pr_class_position.asp
macieksk
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Hi
I'm new to MG OS and pushing our Council to use this although I have to
demonstrate watermarking first.
Can one of you gurus please let me know where I would need to put the code
above, and how to call it? I'm using the standard samples at present (php
and fusion)
Kind regards
Neil
--
View
Thank you for the sample.
I have taken the liberty to add this example to the CodeSamples:
http://trac.osgeo.org/mapguide/wiki/CodeSamples
http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/WaterMark
Regards, Kenneth Skovhede, GEOGRAF A/S
gingerbbm skrev:
Dear all
Here's a revised Jav
Dear all
Here's a revised JavaScript method for watermarking. This will only overlay
the map. I've added a new parameter elName which is the DIV which contains
the map image. In the Ajax viewer the required value is "mapSpace", so it
could be hard-coded if desired.
/**
* Place a
Yes, sorry, I should've probably put a disclaimer on the solution I posted
up. I arrived at this solution for the project I'm currently working on
which has an extremely simple interface: it's just the map and the scale
slider. So I hadn't tried it with more elements of the Ajax viewer.
Still, it
Stuart,
This is excellent and will certainly do for my (current) requirements that
do not need to interface with the Legend... but apparently position '3' is
not allowing me to resize the legend or turn layers on or off.
Positioning the watermark just under the slider places it just above the
le
The "Get printable page" uses a template HTML page to display/print the map.
You can modify that one to include the watermark as well.
Regards, Kenneth Skovhede, GEOGRAF A/S
gingerbbm skrev:
Andy Morsell wrote:
Does the map print with the watermark or is it only for screen viewing?
Andy Morsell wrote:
>
> Does the map print with the watermark or is it only for screen viewing?
>
Assuming that you're talking about using the "Get printable page" button on
the standard toolbar, no. It's only for screen viewing.
--
View this message in context:
http://n2.nabble.com/Watermar
] Watermarking a Map
>> Here is Fridays problem - Watermarking a map. Not in Fusion, just on a
>> basic layout.
>
Here's what I came up with (for the Ajax viewer). The expected parameters to
this JavaScript method are:
doc: The document object, such as that returned by
"fr
>> Here is Fridays problem - Watermarking a map. Not in Fusion, just on a
>> basic layout.
>
Here's what I came up with (for the Ajax viewer). The expected parameters to
this JavaScript method are:
doc: The document object, such as that returned by
"frames['mapFrame'].document"
imageUrl: The
Perhaps have your watermark as a transparent png, and programmatically insert
an img DOM element on of the div that contains the map image when the map
has loaded?
- Jackie
Crispin @ 1Spatial wrote:
>
> Hi all you clever folk,
>
> Here is Fridays problem - Watermarking a map. Not in Fusion,
ginal Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Crispin @
1Spatial
Sent: 12 September 2008 15:33
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Watermarking a Map
Hi all you clever folk,
Here is Fridays problem - Watermarking a map. Not in Fusion, just
Hi all you clever folk,
Here is Fridays problem - Watermarking a map. Not in Fusion, just on a
basic layout.
A common situation is to have to add either a copyright notice or other
watermarking/branding to mapping.
Within the MapGuide environment I have come up with some options -
discussion and
13 matches
Mail list logo