[mapguide-users] RES: MGOS 4.0 and PostgreSQL

2023-10-26 Thread Kajar Kuldsepp via mapguide-users
Hi!


I tested Mapguide 4.0 and Postgresql15(Postgis 3.3.2) and I can say
it's working.


Kajar







Hi,



The current PostgreSQL version is 16. Support for version 11 will end in
February 2024 (AWS RDS PostgreSQL 11 must be migrated).

So, the most advanced PostgreSQL version the new Mapguide 4.0 will support is
version 12 ?

It is not possible a more recent version ? It is a FDO limitation ?



Regards,



Liglio



De: pierre.cardinal 
Enviada em: terça-feira, 24 de outubro de 2023 23:49
Para: MapGuide Users Mail List 
Cc: liglio.pess...@nexxa.com.br
Assunto: RE: [mapguide-users] MGOS 4.0 and PostgreSQL



Hi,



The answer is



PostGIS Provider:

*   Added support for PostgreSQL 12.0
*   No longer joins to pg_authid when listing tables/views
*   Support for curve strings and curve




https://trac.osgeo.org/mapguide/wiki/Release/4.0.0/Beta1/Notes





Regards,





Pierre





 Message d'origine 

De : Liglio Cavalcante via mapguide-users mailto:mapguide-users@lists.osgeo.org > >

Date : 2023-10-23 15 h 44 (GMT-05:00)

À : mapguide-users@lists.osgeo.org
<mailto:mapguide-users@lists.osgeo.org
>

Cc : liglio.pess...@nexxa.com.br <mailto:liglio.pess...@nexxa.com.br
>

Objet : [mapguide-users] MGOS 4.0 and PostgreSQL



Hi,



The most recent PostgreSQL/PostGis versions which are compatible to Mapguide
Server 3.1.2 are version PostgreSQL 12 and PostGis 2.5 ?

Mapguide Server 4.0 will be compatible with which versions of
PostgreSQL/PostgGis ?



Regards,



Liglio
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Mapguide 3.1.0 and PostgreSQL v14

2022-09-19 Thread Kajar Kuldsepp
Hi!


I have tried v14 lipg.dll and this is not compatible with current FDO.


Kajar



libpq should be highly source and binary compatible, so if the libpq.dll
you're using is too old, you should be able to replace it with a newer
version and things should still work.

- Jackie

You wrote:

Hi List,
We have been using Mapguide (3.1.0) for a very long time with great
satisfaction with Oracle Spatial and PostgreSQL/PostGIS as datasource.
We would now like to connect to PostgreSQL version 14. This does not
seem technically possible since the version of the Postgre SQL client
(libpq.dll) used by Mapguide  is lower than 10. So I would like to
know if I could install a newer version of the postgre client with our
version 3.1 of Mapguide?
Thanks for your Help
Ludovic
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] React layout warning: Could not find the context menu configuration

2022-09-16 Thread Kajar Kuldsepp
Thank you!

I just needed to replace container MapRightclickMenu to MapContextMenu
and now its working.

Hi  Kajar,



In your ApplicationDefiniton resource, do you have a Container with the name
MapContextMenu ?





   

  MapContextMenu

  ContextMenu

  top

  

etc





(look at the attached file)



The warning is displayed when the Container is missing from the resource. In
Maestro you can edit the resource by opening  your Flexible Layout and click on
the menu [Edit as XML] at the top.



Regards,



Pierre











De : mapguide-users  De la part de
Kajar Kuldsepp
Envoyé : 15 septembre 2022 04:38
À : mapguide-users@lists.osgeo.org
Objet : [mapguide-users] React layout warning: Could not find the context menu
configuration



Hi!



I'm experience warning when using React layout. It happens when I start using
latest 0.14.7 version.

During load I will get warning:

The following warnings were encountered loading the viewer

*   Could not find the context menu configuration. Right-clicking the map
will show an empty context menu. If you are loading from a Flexible Layout, it
must have a container named 'MapContextMenu'

It happens all flexible layouts I have created and also all react templates.

I also did one test and created layout without  MaprightclickMenu widget, but
still same warning on load. Does anyone else have experienced same problem and
how to get rid of it?



Kajar



http://www.w3.org/2001/XMLSchema-instance;;
xmlns:xsd="http://www.w3.org/2001/XMLSchema;;
xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd">
  Slate
  fusion/templates/mapguide/slate/index.html
  

  
MapGuide
True

  
Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition
  
false
true
EPSG:900913
  

  

  
  

  Toolbar
  Toolbar
  top
  
  
Widget
CoordinateTracker
  
  
Widget
demoComponentTest
  
  
Widget
messageComponent
  
  
Widget
ViewAsKml
  
  
Widget
QuickPlot
  
  
Separator
  
  
Widget
RefreshMap
  
  
Widget
Maptip
  
  
Widget
SelectRadius
  
  
Widget
SelectPolygon
  
  
Widget
ClearSelection
  
  
Widget
tbBuffer
  
  
Widget
Measure
  
  
Widget
FeatureInfo
  
  
Widget
Query
  
  
Widget
Theme
  
  
Widget
Redline
  
  
Widget
ViewOptions
  
  
Widget
About
  
  
Widget
Help
  


  ToolbarSecondary
  Toolbar
  top
  
  
Widget
Select
  
  
Widget
Pan
  
  
Widget
Zoom
  
  
Widget
ZoomIn
  
  
Widget
ZoomOut
  
  
Widget
InitialMapView
  
  
Widget
ZoomToSelection
  
  
Widget
PreviousView
  
  
Widget
NextView
  


  ToolbarVertical
  Toolbar
  left
  
  
Widget
vertSelect
  
  
Widget
vertPan
  
  
Widget
vertZoom
  
  
Widget
vertZoomIn
  
  
Widget
vertZoomOut
  
  
Widget
vertInitialMapView
  
  
Widget
vertZoomToSelection
  
  
Widget
vertPreviousView
  
  
Widget
vertNextView
  


  FileMenu
  Toolbar
  top
  
  
Widget
MapMenu
  
  
Widget
BasemapSwitcher
  
  
Flyout
View

  Widget
  showOverview


  Widget
  showTaskPane


  Widget
  showLegend


  Widget
  showSelectionPanel

  


  Statusbar
  Splitterbar
  bottom
  
  
Widget
statusCoordinates
  
  
Widget
statusSelection
  
  
Widget
EditableScale
  
  
Widget
statusViewSize
  


  xMapContextMenu
  ContextMenu
  top
  
  
Widget
RefreshMap
  
  
Separator
  
  
Widget
Pan
  
  
Widget
Zoom
  
  
Separator
  
  
Widget
ZoomIn
  
  
Widget
ZoomOut
  
  
Separator
  
  
F

[mapguide-users] React layout warning: Could not find the context menu configuration

2022-09-15 Thread Kajar Kuldsepp
Hi!

I'm experience warning when using React layout. It happens when I start
using latest 0.14.7 version.
During load I will get warning:
The following warnings were encountered loading the viewer

   - Could not find the context menu configuration. Right-clicking the map
   will show an empty context menu. If you are loading from a Flexible Layout,
   it must have a container named 'MapContextMenu'

It happens all flexible layouts I have created and also all react templates.
I also did one test and created layout without  MaprightclickMenu widget,
but still same warning on load. Does anyone else have experienced same
problem and how to get rid of it?

Kajar
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Mapguide FDO connection to Postgresql 14

2021-12-30 Thread Kajar Kuldsepp
Hi!
I can confirm that Mapguide 3.1.2(Win 64bit) not able to connect Postgres
14  database.
I just wanted to try it, because Autocad 2022 MAP which also uses FDO can
successfully connect to Postgres 14,  ofcourse it uses FDO 4.2 version.
Didnt' found that there are any FDO 4.2 to download, seems that Autodesk
provides its own version.
Tried also copy  new dll's(PostgresqlProvider, libpq,libeay32 and ssleay32
also updated providers.xml)  from Autodesk install directory, but without
any luck.
Does someone have successfully created connection to Postgres 14?

Kajar
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Fwd: Authentication causing mapagenturl error

2021-05-06 Thread Kajar Kuldsepp
Hi!

Does somebody have experience same issue, or know how to fix it?

Kajar

-- Forwarded message -
From: Kajar Kuldsepp 
Date: Mon, 12 Apr 2021 at 11:06
Subject: Authentication causing mapagenturl error
To: 


Hi!

I enabled authentication for Mapguide 3.1.2, fusion layout.
Last time I tried it was before 3 and then I got it working, but now I will
get error:
Error Details:
Uncaught ReferenceError: mapAgentUrl is not defined
Stack Trace:
 - ? at http://server_name:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 51)

Can someone know how to modify this line 51 in fusionSF-compressed.js, to
get rid of this error?

Kajar
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Authentication causing mapagenturl error

2021-04-12 Thread Kajar Kuldsepp
Hi!

I enabled authentication for Mapguide 3.1.2, fusion layout.
Last time I tried it was before 3 and then I got it working, but now I will
get error:
Error Details:
Uncaught ReferenceError: mapAgentUrl is not defined
Stack Trace:
 - ? at http://server_name:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 51)

Can someone know how to modify this line 51 in fusionSF-compressed.js, to
get rid of this error?

Kajar
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Fwd: Mapguide discussion group

2021-04-06 Thread Kajar Kuldsepp
Does anybody know something about this subject?

-- Forwarded message -
From: Kajar Kuldsepp 
Date: Wed, 31 Mar 2021 at 15:56
Subject: Mapguide discussion group
To: 


Hi!

As I undesrtand Mapguide discussions(Mapguide users and internal ) are
stopped in Nabble, where is the new place?

Br,

Kajar
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Mapguide discussion group

2021-03-31 Thread Kajar Kuldsepp
Hi!

As I undesrtand Mapguide discussions(Mapguide users and internal ) are
stopped in Nabble, where is the new place?

Br,

Kajar
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] React layout: external layer manager

2020-02-27 Thread Kajar
Thanks Jackie to point me the  right track.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] React layout selection panel settings

2020-02-27 Thread Kajar
It seems that React layout dont follow selection panel "Selection renderer"
settings(Default or horizontal) defined for flexible layouts and by default
it is same like flexible default.
Is there a way to define selection panel use settings "Horizontal"?

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] React layout: external layer manager

2020-02-25 Thread Kajar
Maybe this is stupid question, but where I can find external layer manager
when using react layout.

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Point symbol selection

2020-01-27 Thread Kajar
Hi!

Is it somehow configurable when selection will be activated when picking
point symbols.
To get selection from point symbol I have to  click on the center of symbol,
is there a way to add some tolerance how far from center I'm allowed to
click to get symbol selected? 

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-12-12 Thread Kajar
Good to know.
Then I use also weekly option.
By the Google api doc  I should setup it like below, but this is not working
for me: 
js?v=weekly=YOUR_API_KEY">

Using ...v=weekly seems to work.
Is it correct way to define key for mapguide map?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-12-12 Thread Kajar
Can someone please tell me also how to define correctly version parameters
for API key.
Currently I was using: .v=3.35use_slippy=true
Now when I use same way(use 3.37 instead 3.35) I will get warning: You have
included the Google Maps JavaScript API multiple times on this page. This
may cause unexpected errors.

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 4K issue

2019-12-12 Thread Kajar
Thanks!
I tried to reduce window size and WMS layers become visible, this is  indeed
related to wms layer default values like you have described.




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-12-12 Thread Kajar
Now I'm getting another error, maybe this is causing issues and not Google:
Error:
fusionSF.js:50778 [Intervention] Unable to preventDefault inside passive
event listener due to target being treated as passive. See
https://www.chromestatus.com/features/6662647093133312
preventDefault @ fusionSF.js:50778
stop @ fusionSF.js:50758
onWheelEvent @ fusionSF.js:72152
(anonymous) @ fusionSF.js:46699

This  points me:
<http://osgeo-org.1560.x6.nabble.com/file/t369565/Capture.png> 

Anyone can explain what it means and how to fix this.

Kajar






--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-12-11 Thread Kajar
It seems that there are problems with Google API version again.
Couple of days back I noticed that some layers are acting strang: disappear
in some map scale when zoom in or out.
I checked error on site, and it saying you api version is retired. I was
using 3.35, currently supported is 3.37.
I changed it to 3.37, errors are gone but layer still acting the same.
Everyone else haven't noticed something strange?

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Mapguide Postgis layers issue

2019-12-11 Thread Kajar
I'm trying to find fix for issue related to Postgresql/Postgis layers.
I'm using latest mapguide 3.1.2
Problem is that some layers based the Postgfresql source will be unavailable
in map when I have made changes in database(created some new table). I need
to save/refresh Postgres data connection every time  I have made changes in
database to make layers visible again.
It's kind of strange, I understand that new tables are not visible without
refreshing data connection during new layer creation, but for existing ones,
its not make sense.
Does anyone have experienced same problem?
Also what is suggested approach: make one Postgres data connection for all
layers(tables in same database) or create separate Postres datasources for
every layer.

Kajar




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Mapguide 4K issue

2019-12-11 Thread Kajar
Hi!

I'm experiencing strange issue using Mapguide map application in 4K monitor.
Problem: when I open map in 4K monitor then WMS layers are not become
visible.
For FHD monitor or viewing it in laptop screen those WMS layers are visible.
At first I thought its some browser issue, but currently same same issue
happens with Chrome and also Firefox. Of course I use latest browser
versions, maybe this is the source of issue.
Actually previously(with my old laptop) I was able to see those WMS layers 
in 4K resolution without issue.
Cant figure out is it still some browser issue or what else it can be.
Maybe enyone else have experiencing same problem and found some fix for
that.

Kajar




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Polygon object ordering

2019-10-11 Thread Kajar
Thanks Jackie, this is good idea, I'll try.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Polygon object ordering

2019-10-04 Thread Kajar
HI!

Is there a way to set up ordering for same layer polygon objects.
Order based on some attribute field?
I know I can set order for different layers, but how about same layer
objects.

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New php entry point

2019-05-22 Thread Kajar
At first I just wanted to get confirmed that I used all needed parameters for
url.
Now I can say that those parameters are ok, some of my layout are working
with index,php, but some will fail. It seems that all layouts where I use
more than one map definition will fail to load. 
I'll investigate further and when I stuck, then I'll share errors.

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-17 Thread Kajar
I installed Mapguide 3.1.2 today after Google strike and now Google maps
working for me with or without  parameter v=3.35. At first it seemed not to
work, but after clearing browser cash it started to work.

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] New php entry point

2019-05-17 Thread Kajar
HI!
I wanted to try ney php entry point for Mapguide 3.1.2, but its not working
for me.
I'm trying access to my Maguide site using this link, does it seems correct: 
server:8008/mapguide/fusion/templates/mapguide/index.php?template=slate=Library://myweblayout.ApplicationDefinition.
I tried different templates, but map is not loaded, what I'm missing?

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Distance measure widget

2019-01-24 Thread Kajar
HI!

Is there a way to configure distance measure widget to support also pan
during measure process by clicking mouse middle button.
Currently pan working somehow, but you must click twice in pan button and
then you can start placing distances using mouse right click and pan works 
with left click. 
It good to avoid this two time clicking for pan function.
Maybe there are way to enable pan initially when measure widget starts?

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] PostGIS view with a join not selectable

2019-01-16 Thread Kajar
I have same problems and this is not related to schema override.
I have created layers based on views with joins and selection work as it
should.
For me it happens also for layers which feature source are tables without
any join.
Try to create new map and use same problematic layer, I have tried and then
selection works, but not always. Sometimes I create new layer and then it
start working.
This is strange and not fully understandable why its  happens, its a bit
random.

Kajar




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Link to wiew widget coordinate transformation

2018-12-21 Thread Kajar
Is there a way to create coordinate override for "Link to view" widget.
My map using EPSG:3857 coordinate system.
I want to create Mapguide map links for point objects using those map extent
parameters:  generate map extent using point coordinates, but my points are
in different coordinate system. 
I know I can tranform my points to desired coords system, but if there a way
to use some tranforming for link to view widget.

Kajar




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Postgresql/Postgis schema override

2018-12-11 Thread Kajar
Now I was able to get schema override working for Postgresql.
What I did was just merge connection xml and schema xml into one xml and use
it in Maestro "Edit Configuration document".
Selection works also nicely now when using joins in view.

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Postgresql/Postgis schema override

2018-12-11 Thread Kajar
HI!

Does anyone have got working this schema override for Postgresql/Postgis
connection.
I'm dealing with views where are the joins and for that I thought to use
this old post:
https://themapguyde.blogspot.com/2010/08/using-fdo-schema-overrides.html
I can only export one schema and not whole connection info like in sample
post.
I was able to export Postgres schema in xml  using Fdo Toolbox, but when I
use it in Maestro as resource data file then spatial extents will be gone
and features landing in wrong place and also search point layer give me
error. 
Do I need to export also connection xml schema to maestro and add both:
schema info and also connection xml configurtion files into.

Kajar

 




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] MG 3.1 Postgresql10.6/Postgis 2.5 support

2018-12-10 Thread Kajar
HI!

Does this latest Mapguide support connection to Postgresql 10.6/Postgis 2.5?

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google Offset in MGOS 3.1.1

2018-11-13 Thread Kajar
Same problem, now it's clear that this is not only  my problem :)
Whats going on with it?

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google Map

2018-10-08 Thread Kajar
It was problem also for me with Osgeo mapguide, when I used Studio for
setting up Google api key.
How I got it working: 
1)Open same layout you created with Studio in Maestro, open layout as xml
and delete google script row. 
2)Set api key for Google maps  using Maestro and save.
3)Open same layout again in Studio and untick option which points Google api
and save.
This was working for me. 
Only problem I have is that Google API key checker not recognizing any API
key my site is using, but Google maps at least loading.
When I open same layout in xml editor, then api key is actually presented in
there.

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Point layer search error: "hasSelection"

2018-09-19 Thread Kajar
Hi!

After upgrading Fusion to 3.1.1(with google patch) now I'm experiencing
issue with one point layer search.
After  clicking on search result row I'm getting error in map: Exception
occurred in AJAX callback.
Message: Cannot read property 'hasSelection' of null
Location: undefined (undefined).

Before the upgrade this was working.
What does this error actually mean?
This is related only this  particular layer I use for searching.

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google Map

2018-09-12 Thread Kajar
Actually I got it working today, I cant understand why it was not working for
me previously.
I tried it with 3.1.1(with google patch) and script tag in my xml is
defined:
Script>https://maps.googleapis.com/maps/api/js?key=mykey

Kajar




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google Map

2018-09-12 Thread Kajar
Yes "a.test is not a function" occures for me using 3.1.1 build of
fusion(with google maps api patch).
I got google maps working only with latest test build fusion, but only
through php and not  index.html

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New test build of Fusion

2018-08-30 Thread Kajar
Ok now its clear that Fusion 3.1.2 does not support  index.html(with and
without Google Maps) anymore at least for me.
But Fusion build 3.1.1 with Google patch should work through index.html?

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New test build of Fusion

2018-08-30 Thread Kajar
Yes "&" did the trick when using index.php and I got Google basemap also
working with it.
Actually Studio creates ? instead of &.
But what about the old index.html, this should also work with latest test
fusion:
http://localhost:8008/mapguide/fusion/templates/mapguide/slate/index.html?ApplicationDefinition=Library://Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition=en

And one more thin with Google basemap, right now its visible till scale 829,
under that scale it gone.
Openstreetmap goes scale 0 as well.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New test build of Fusion

2018-08-29 Thread Kajar

But why layouts not working anymore in browser?
I have set 3 different mapguide servers, but layouts not working.
My url
is:http://localhost:8008/mapguide/fusion/templates/mapguide/slate/index.html?ApplicationDefinition=Library://Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition=en

I tried to use also new index.php, so my url looks like:
http://localhost:8008/mapguide/fusion/templates/mapguide/index.php?template=slate?ApplicationDefinition=Library://Samples/Sheboygan/FlexibleLayouts/Aqua.ApplicationDefinition=en
Using index.php I'll see in browser: Missing required parameter:
ApplicationDefinition.
What I'm missing, why those url's not working.

Kajar







--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New test build of Fusion

2018-08-28 Thread Kajar
Actually I was to hurry when I said that  test build is working for me, after
clearing browsing data its not working anymore.
Not working means that I will get template blank page without any map layers
and no any fusion errors.
Only info I will get from Chrome Dev tool is :
 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated
because of its detrimental effects to the end user's experience. For more
help, check https://xhr.spec.whatwg.org/.
h @ fusionSF.js:1706
 GET
http://localhost:8008/mapguide/mapagent/mapagent.fcgi?OPERATION=GETRESOURCECONTENT=1.0.0=en=MapGuide+Developer=Library://Samples/Sheboygan/FlexibleLayouts/Maroon.ApplicationDefinition=text%2Fxml=undefined
559 (MgInvalidArgumentException)

Behavior is strange: using maestro "Preview" button then layout is opening
correctly in browser, but when I choose option "Go" after public url link or
I copy this link manually then its not working in any browser I have. 





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New test build of Fusion

2018-08-28 Thread Kajar
Now I was able to get this test build working, but now I have truble using
Google maps.
I tried to set APi key using latest Maestro and also with Studio 2017.
Error I'm getting:
Error Details:
Uncaught TypeError: a.test is not a function

Stack Trace:
 - ? at http://localhost:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 3122)

App def xml I can find also the place for Google Api key:

   
https://maps.googleapis.com/maps/api/js?key=/MYAPIKEY/
  

I used  Crome Google Api checker to check if API key is working and seems
its working, something else is blocking Google basemap.
Any ideas?

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New test build of Fusion

2018-08-27 Thread Kajar
When I try to update current version of  fusion(latest mapguide 3.1.1) to the
leatest test version then my previously created layouts refuse to work.
What I did: download new fusion and replaced the old fusion folder under
Mapguide install.
After server restart I'm not able to view prviously created layouts and also
not able to see any new layouts in browser.
Does I have to do anything else to force new build of fusion to work?

Kajar





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Slow Openstreetmap

2018-07-27 Thread Kajar
Thanks Jackie, this is great news.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Slow Openstreetmap

2018-07-26 Thread Kajar
Its good to know where I need to define new openstreet tile server host name,
which replace the old one.

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Slow Openstreetmap

2018-07-25 Thread Kajar
It seems that sometimes Openstreet service is just really slow or not
working.
Does someone have created own OSM tile server and configured Mapguide to use
it?

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Slow Openstreetmap

2018-06-20 Thread Kajar
Hi!

I have issue related to very  slow Openstreetmap loading.
I'm using MGOS 3.1.1, WinServer 2016, Apache webserver.
It happened after Google Maps stopped working and I was pushed to use
Openstreetmap(Mapnik) as default background. When I switch to use OpenStreet
Map (TransportMap) then there is no problem with slow loading tiles, only
Mapnik doesnt want to load as it should. I also disabled all Google Maps
options from web layout.
Chrome developer tool show me errors:

 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated
because of its detrimental effects to the end user's experience. For more
help, check https://xhr.spec.whatwg.org/.
b @ fusionSF.js:1686
(anonymous) @ fusionSF.js:1759
(anonymous) @ fusionSF.js:1726

 A parser-blocking, cross site (i.e. different eTLD+1) script,
http://www.openstreetmap.org/openlayers/OpenStreetMap.js, is invoked via
document.write. The network request for this script MAY be blocked by the
browser in this or a future page load due to poor network connectivity. If
blocked in this page load, it will be confirmed in a subsequent console
message. See https://www.chromestatus.com/feature/5718547946799104 for more
details.

 A parser-blocking, cross site (i.e. different eTLD+1) script,
http://maps.google.com/maps/api/js?v=3.3=true=, is invoked via
document.write. The network request for this script MAY be blocked by the
browser in this or a future page load due to poor network connectivity. If
blocked in this page load, it will be confirmed in a subsequent console
message. See https://www.chromestatus.com/feature/5718547946799104 for more
details.

fusionSF.js:1673 A parser-blocking, cross site (i.e. different eTLD+1)
script, http://maps.stamen.com/js/tile.stamen.js?v1.3.0, is invoked via
document.write. The network request for this script MAY be blocked by the
browser in this or a future page load due to poor network connectivity. If
blocked in this page load, it will be confirmed in a subsequent console
message. See https://www.chromestatus.com/feature/5718547946799104 for more
details.

Does anyone experiencing similar problems?
Does someone have an idea how to fix this map loading time issue.

Kajar






--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google Map

2018-06-18 Thread Kajar
It would be nice to have the Google Maps support.
It actually the fastest map background to have.
So for those users who willing to pay, why not to have maps support.

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google Map

2018-06-15 Thread Kajar
I'm using Maguide 3.1 version and today seems Google maps stopped working,
error related to maps api.
Previously I  have changed one row in layout xml like Gordon suggested:
http://maps.google.com/maps/api/js?v=3.3sensor=trueclient=
 
But this is not helping.

Does it means that we cant use Google map layers anymore with Mapguide?

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Moving to MGOS from AIMS

2018-01-08 Thread Kajar
How bright is the  future of MGOS?
I have used it at least 5 years, but after those news, I'm a little worried.
Is it really reasonable to start seeking some other GIS platforms?

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.1 WFS service

2017-09-04 Thread Kajar
Thanks Hans!

I gave up with Mapguide and WFS. I just wanted to try to get it working.
As you mentioned Geoserver is good for provide WFS servise so I tried it.
I tried to create service using Postgis and view it using Autocad and Qgis
but I failed.
I keep trying, some sample  WFS service(created using shp datasource)
working great with Cad and Qgis.





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.1 WFS service

2017-08-30 Thread Kajar
Yes, if anyone have sucessfully setup Mapguide 3.1 WFS service  in Apache
server then share it please.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.1 WFS service

2017-08-29 Thread Kajar
Apache server is using port 8008.
Now I have configured wfs server myserverip:8008.
World Web Wide Publishing Service? This must be IIS stuff, this service is
not enabled for my environment at all.






--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-1-WFS-service-tp5330278p5332894.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.1 WFS service

2017-08-23 Thread Kajar
My environment:
Windows Server 2016 64 bit
Mapguide 3.1
Apache webserver.





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-1-WFS-service-tp5330278p5332331.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.1 WFS service

2017-08-23 Thread Kajar
No luck for me, I tried to configure WFS service without port nr in mapguide
site administrator.
Autocad MAP 3d not connecting at all when I dont add port nr. When adding
port numbr then I can connect but  getting error when reading schema: There
was a problem accessing the connection's schema information.
Insturction is about IIS server but I use Apache. 
Anyone else have tried to create WFS service?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-1-WFS-service-tp5330278p5332215.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.1 WFS service

2017-08-22 Thread Kajar
Really, no feedback at all?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-1-WFS-service-tp5330278p5332133.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Mapguide 3.1 WFS service

2017-08-03 Thread Kajar
HI!

Does Mapguide 3.1 is able to provide WFS service?
I' tried to enable WFS service but wasn't able to see any feature layers.
I tried connect using AUTOCAD MAP 3d, Qgis. MAP 3d wasn't able to get even
schema information, using Qgis I see schema but its not possible to get any
features to map.
Does anyone can confirm that Mapguide WFS is working?

Kajar





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-1-WFS-service-tp5330278.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Windows Server 2016 compatibility

2017-06-01 Thread Kajar
Hello!

Does Windows Server 2016 Standard x64  is compatible for  Mapguide 3.1?

Kajar



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Windows-Server-2016-compatibility-tp5322649.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 layer permissions

2017-05-23 Thread Kajar
I just thought this layer rights management is done using only maestro or
AIMS Studio.
But as I understood there is need to go to code level to set layers visible
or not when map loads.
Actually I dont know how to set layers visibility in code based user rights
;).
I just use predefined web templates without any additional coding.
If you can point me a right way how to add  this layers visibility in code,
I'll be really thankful.
Does this coding means changing template index.html?

Kajar






--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-layer-permissions-tp5320761p5321515.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 layer permissions

2017-05-21 Thread Kajar
So when map loads all layers must be turned off? But I need some rights based
layers  initially be visible for users who can have rights to view it.
Its good to have that those layers  not visible at all also in  legend, when
user have not right to view those layers.


 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-layer-permissions-tp5320761p5321202.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Mapguide 3.0 layer permissions

2017-05-17 Thread Kajar
I'm little confused how permission management working for Mapguide.
What I want to do is setup user rights to view or not to view some layers.
When user logs in then some layers are not accessible.
When I specify users who can have right to view specific layer then for them
application opens, but for those users which is not in the list to view
specific layer the application not opening at all.
I adding or removing rights using layer Properties and Permission tab for
that.
How is the correct way to get this working?




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-layer-permissions-tp5320761.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Updating Feature Sources without restarting MG

2017-05-09 Thread Kajar
I do almost same but using SHP. I wanted to use Sqlite at first, but Autocad
MAP 3d have bug to export to Sqlite using command in command line scripts,
so I was pushed to use SHP. Every night scripts collects information from 80
drawings and creating one SHP from dwg data. So SHP is overwrite the old one
every night.
I'm using connection to SHP not uploading it to repository and for me its
work perfectly.
Maybe you need to use alternative format.

Kajar





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Updating-Feature-Sources-without-restarting-MG-tp5319874p5319963.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-react-layout 0.7 released

2017-02-08 Thread Kajar
I'm a big Mapguide fan so if I can help to get it better then  I'll help as
much as I can.  

Kajar



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-react-layout-0-7-released-tp5301769p5307028.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-react-layout 0.7 released

2017-02-07 Thread Kajar
I have made lot of research related this issue I'm experiencing and found
that Studio is not breaking layout for react but issue is related to map
definition. When creating map with Studio and set map extent using "use
current map zoom to set these coordinates" and then use this  map and react
layout then layer is not fully visible. Even  if  layer in Studio map
preview seems fully visible is not correctly visible using react layout.
When you use same map which was previously  created by Studio and use
Maestro to create new extent for map and save the map, then layer is 
correctly visible using react layout.
So Studio map view extent generation causing some error for react layout.
I added also package I made for better understand the problem.
Some explanation using package:
Studio_map_false: this is map created with Studio and added extents for map.
Studio_map_true: this is fixed map( new extent for map) by Maestro.
Studio_flex_true: layout created with Studio using map
definition(Studio_map_true) which works with react.
Studio_flex_false: layout created with Studio using map
definition(Studio_map_false) which is causing faulty layer visibility with
react.
Studio_react_issue.mgp
<http://osgeo-org.1560.x6.nabble.com/file/n5306817/Studio_react_issue.mgp>  


Kajar



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-react-layout-0-7-released-tp5301769p5306817.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-react-layout 0.7 released

2017-02-06 Thread Kajar
I found the source of problem and this was Infrastructure Studio(latest one). 
I tried to create layout using Maestro and then  react is working.

Kajar




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-react-layout-0-7-released-tp5301769p5306572.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-react-layout 0.7 released

2017-02-06 Thread Kajar
This is so annyoing. I have same problem in three different servers I
have(win 7 and win 10 and MG 3.1). 
Strange is when using Sheboygan sample then react layouts working as it
should. 
But when I use my own made maps then react not working. Maybe this is some 
some CS problem.
I use EPSG:3301 and 3857. Sheboygan uses 4326 but also 3857 and both
working.
Somebody have any idea, whats can be wrong?

Kajar



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-react-layout-0-7-released-tp5301769p5306561.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-react-layout 0.7 released

2017-01-07 Thread Kajar
Now same problem occurs using slate, aqua or other templates also, something
completely broken when trying to use react.
But Sheboygan webloyout working normally so something must be wrong with my
own map or layout.
Background Openstreetmap  is fully visible but all other  layers is visible
only in the center  of the map screen.
Does somebody else having similar issues. For me react layout is not working
also in my second mapguide server I set it up. Can it be  some coordinate
system  problem?




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-react-layout-0-7-released-tp5301769p5302397.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-react-layout 0.7 released

2017-01-06 Thread Kajar
When using sidebar.html template and web layouts then in viewer(chrome,
firefox) I got only a slice of map not full map as it was defined in
Maestro.
Visible map area is about 46km x 395km so map height is reduced.
Full map size must be  about 250x395km.
Is there are any restrictions about map window size?
Using aqua, slate or other templates and applicationdefinitions then map
size is correctly in viewer.

Kajar



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-react-layout-0-7-released-tp5301769p5302304.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 Postgre view problem

2016-12-08 Thread Kajar
Two single quotation did  the trick.
Thanks you very much.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Postgre-view-problem-tp5298765p5299227.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 Postgre view problem

2016-12-08 Thread Kajar
Thank for you assistance but I cant get "CASE WHEN" things working.
What I'm doing wrong:
...
guide_generic_search_table('CASE  when owner = 1 THEN one  when  owner = 2
then TWO END', 'piping.pipe', 'pipe.dp_oid=' || symg.dp_oid) AS owner



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Postgre-view-problem-tp5298765p5299215.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 Postgre view problem

2016-12-08 Thread Kajar
Seba, I have some additional question about the function.
1)Can I use  CASE WHEN condition with this function  
I have situation that owner values are just numbers and I want to convert
those values to some text.
Sample:
CASE WHEN owner = 1 then 'one'
ELSE 'none'
End

2) Can I have also multiple conditions when join values ,'ditch.dp_oid='
|| grag.dp_oid and 'ditch.some_other_id' || grag.some_other_id)

Kajar



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Postgre-view-problem-tp5298765p5299171.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 Postgre view problem

2016-12-06 Thread Kajar
Yeah, I got it working with other tables where PK is defined, then it works,
of cause there is little peformance drop compered to regular view with join,
but selection is possible.
So when there is no PK field in view  then view become as nonselectable when
using Mapguide.
I have tables without PK defined so I need some workaround how to visualize
those tables with Mapguide when I need to use joins between tables. Maybe I
can define PK's for those tables, but I dont know is it possible.
I tried also use Mapguide join when creating dataconnection using Studio,
but result(layer in map) is really slow.
Sad that Postgresql havent same PK defining function for views like Oracle
have.

Kajar



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Postgre-view-problem-tp5298765p5298897.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 Postgre view problem

2016-12-06 Thread Kajar
Thank you. I created view but selection is still not working.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Postgre-view-problem-tp5298765p5298827.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 Postgre view problem

2016-12-06 Thread Kajar
I have two tables:
1)grag
2)ditch

View I want to create is :
CREATE OR REPLACE VIEW public.route_lines_view AS 
 SELECT grag.dp_oid,
grag.dp_otype,
grag.dp_subtype,
grag.dp_ctype,
grag.dp_mod,
grag.dp_state,
grag.shape,
ditch.owner,
ditch.length
   FROM piping.grag
 JOIN piping.ditch ON grag.dp_oid = ditch.dp_oid;

I really thankful if you can put my data to you function script, then I got
knowing how its really works :)



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Postgre-view-problem-tp5298765p5298820.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 Postgre view problem

2016-12-06 Thread Kajar
Mu view wasn't complex, its was just simple join between two tables. Take
some data from one table and take some from another where tables having one
common field for joining.
Sry but my SQL knowledge specially functions is far away from perfect so how
I can use this function :)





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Postgre-view-problem-tp5298765p5298810.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 Postgre view problem

2016-12-06 Thread Kajar
Primary key is not supported in Postgresql views. As I previously said using
view without joined tables and primary key works just well.
Just cant understand why joins ruin the selection possibility.




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Postgre-view-problem-tp5298765p5298776.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Mapguide 3.0 Postgre view problem

2016-12-06 Thread Kajar
HI!

When I use Postgresql(9.5, postgis 2.2) views as data source for features,
where data is collection from two tables(using joins) then I cant select
features in the map. When just using Postgres view where no join then
features are selectable, but using views where are joined data then there is
now way I can select features.
Can somebody comment what can be wrong?

kajar



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Postgre-view-problem-tp5298765.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Introducing mapguide-react-layout: A modern viewer for MapGuide

2016-09-29 Thread Kajar
Now I tired it with Mapguide latest 3.1beta and then I got it working.
But how to use Opestreetmap and Stamen baselayers, which I found in index or
sidebar.html? Those baselayers must work?




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Introducing-mapguide-react-layout-A-modern-viewer-for-MapGuide-tp5288019p5288570.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Introducing mapguide-react-layout: A modern viewer for MapGuide

2016-09-29 Thread Kajar
Under installation there is note:
Map the viewer directory as a child virtual directory under the MapGuide's
wwwroot in your web server of choice (IIS or Apache)

Does putting viewer folder into Mapguide root folder  isn't enough?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Introducing-mapguide-react-layout-A-modern-viewer-for-MapGuide-tp5288019p5288511.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Introducing mapguide-react-layout: A modern viewer for MapGuide

2016-09-28 Thread Kajar
For me its still not working.
When I have layout named "X" in folder Layouts, do I had to need to add
WebLayout at the end and request must looks like:
http://localhost:8008/mapguide/viewer/sidebar.html?resource=Library://Layouts/X.WebLayout






--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Introducing-mapguide-react-layout-A-modern-viewer-for-MapGuide-tp5288019p5288245.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Introducing mapguide-react-layout: A modern viewer for MapGuide

2016-09-28 Thread Kajar
Hi!

I'm experiencing problem launching the new viewer.
I downloaded and copied this viewer folder to my mapguide www root
directory.
Tried both template URL's, but can view only blank page(using Firefox,
Chrome).
My url looks like :
http://ip:8008/mapguide/viewer/sidebar.html?resource=Library://LayoutFolder/WeblayoutName.ApplicationDefinition
I'm using Mapguide 3.0 and Apache webserver.

What I'm doing wrong?





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Introducing-mapguide-react-layout-A-modern-viewer-for-MapGuide-tp5288019p5288185.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Studio 2016 and mapguide 3.0

2016-09-13 Thread Kajar
Just push the Refresh button  after you got error, preview should work then. 
For me its working.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Studio-2016-and-mapguide-3-0-tp5285321p5285718.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 Maestro and Studio problem

2016-03-19 Thread Kajar
Can anybody confirm that legend icons working as it should in 3.0?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Maestro-and-Studio-problem-tp5242079p5256960.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 Maestro and Studio problem

2016-01-28 Thread Kajar
But can anybody  help me with legend icons, why those icons remains always
blue ones and not as actual layer is  defined. 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Maestro-and-Studio-problem-tp5242079p5247759.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 Maestro and Studio problem

2015-12-23 Thread Kajar
It happens in every feature source. 
For everyone else Mapguide 3.0 working with Maestro(5,1 or 6) or
Studio(2016)?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Maestro-and-Studio-problem-tp5242079p5242764.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Mapguide 3.0 Maestro and Studio problem

2015-12-19 Thread Kajar
I'm gettin error when I try to preview layer, map or weblayout in Maestro(5
and 6 versions). I have tried different feature sources(SDF, SHP, Postgres,
Oracle) but nothing.  I have tried reinstall Mapguide, also tried to run it
in diferent computers but nothing helping.
<http://osgeo-org.1560.x6.nabble.com/file/n5242079/Maestro_error.jpg> 
 Also Autodesk Infrastructure Studio gives me always Fusion error when I
want to get preview.
<http://osgeo-org.1560.x6.nabble.com/file/n5242079/Studio_error.jpg> 
I installed Mapguide as PHP bundle configuration and it running on WIN 7 64
machine. 
It so annoying to setup web map without preview.
Second problem: legend icons are remains always default(blue icons) in
webpage.
<http://osgeo-org.1560.x6.nabble.com/file/n5242079/Legend.jpg> 
Is those are some pugs?
For everyone else preview and legend icons working correctly?
Can somebody help me with this problem.

Kajar



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Maestro-and-Studio-problem-tp5242079.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Mapguide 3.0 legend and url problem

2015-11-12 Thread Kajar
HI!

I'm having 2 problems:
1. Using Mapguide 3.0 fusion web layout legend icons are always default blue
ones. 
2. Mapuide site URL created by Maestro or Studio working normally only with
Firefox browser. Using Chrome or IE it takes a lot of time or fails to load
the site. Does anybody else having same problem.
Same problem was also with Mapguide 2.6 or previous versions. I'm using
Apache webserver.
Can someone suggest whats can be wrong? 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-legend-and-url-problem-tp5235884.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Upgrade Mapguide from 2.6->3.0

2015-09-02 Thread Kajar
I just thought there are way how to update Mapguide server core files and
keep all old repositories and all data folders-files remains old.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Upgrade-Mapguide-from-2-6-3-0-tp537p553.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Upgrade Mapguide from 2.6->3.0

2015-09-02 Thread Kajar
HI!

I having Mapguide 2.6 running in windows and I want to upgrade it to 3.0.
I also having map application which running in server, so I dont want to
uninstall the previous version first  and then install new one and then I
have to setup application again. 
Is there an easy way how to  upgrade Mapguide without uninstall old version,
so I can keep my existing map application keep running without setting it up
again.

Kajar   



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Upgrade-Mapguide-from-2-6-3-0-tp537.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Upgrade Mapguide from 2.6->3.0

2015-09-02 Thread Kajar
Thanks for instructions.
When I just copy Repositories folder from 2.6 to 3.0 not going to work? 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Upgrade-Mapguide-from-2-6-3-0-tp537p5222312.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Google Geocode inside Mapguide

2014-12-03 Thread Kajar
How to replace search button with  autocomplete option in this code.




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Google-Geocode-inside-Mapguide-tp5098605p5176212.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-17 Thread Kajar
I thought this old bug is fixed. 
So King Oracle provider not working with any distribution of linux?

How to use OGR Provider to connect to Oracle base.





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5168004.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-16 Thread Kajar
Now all files are istalled and Oracle Instant client is configured but I got
error when I want to connect to oracle database using Maestro:

The remote server returned an error: (559) MgFdoException.: 
An exception occurred in FDO component.
Error occurred in Feature Source
(Session:4643b2a8-5508-11e4-8000-227fbd1e24c6_en_MTI3LjAuMC4x0AFC0AFB0AFA//7558decb-3d62-4d53-a8c2-874ec9389065.FeatureSource):
An exception occurred in FDO component.
Failed to retrieve the third party exception mesage. This message may not be
unicode compliant.

- MgFdoConnectionManager.Open() line 333 file FdoConnectionManager.cpp
- MgFdoConnectionManager.CacheFdoConnection() line 1097 file
FdoConnectionManager.cpp
- MgFdoConnectionManager.Open() line 1089 file FdoConnectionManager.cpp
 (Cause: , Root Cause: )
- MgFeatureServiceHandler.ProcessOperation() line 83 file
FeatureServiceHandler.cpp
- MgOpTestFeatureSourceConnection.Execute() line 100 file
OpTestFeatureSourceConnection.cpp
- MgServerFeatureService.TestConnection() line 243 file
ServerFeatureService.cpp
- MgFdoConnectionManager.Open() line 366 file FdoConnectionManager.cpp
The remote server returned an error: (559) MgFdoException.

Configuration i have:Centos 6.5(32 bit), Oracle instant client is 11ver(32
bit), Mapguide 2.6(32bit) Oracle database is 10ver(64bit). 
Maybe 32 vs 64bit problems?





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5167763.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-14 Thread Kajar
Is this xml entry is correct:

FeatureProvider
NameKing.Oracle.3.9/Name
DisplayNameOracle Provider/DisplayName
DescriptionRead/write access to spatial and attribute data in an
Oracle Spatial. (requires Oracle Instant Client libraries)/Description
IsManagedFalse/IsManaged
Version3.9.0.0/Version
FeatureDataObjectsVersion3.9.0.0/FeatureDataObjectsVersion
LibraryPath.\libKingOracleProvider.so/LibraryPath
  /FeatureProvider



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5167418.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-14 Thread Kajar
Thanks for help.
But can you help where to find King Oracle FDO 3.9 version
files(libKingOracleProvider-3.9.0.so).
I found only 3.8 version to download.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5167431.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-13 Thread Kajar
HI!

After installing Mapguide 2.6 on Centos 6 I didnt found any Oracle provider
included. Does this provider have to installed separately and also Oracle
Instant Client is required? 
Where to find Oracle provider which working with 2.6 version?





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] How to get selection with fusion??

2014-03-05 Thread Kajar
I use MGOS 2.6, there is such widget as map.js only Maptip.js. Is this same
as map widget.
But where this selection info are displayed?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-to-get-selection-with-fusion-tp4187847p5107612.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] How to get selection with fusion??

2014-03-05 Thread Kajar
Ok I put the code to Aqua index.html also with openlayers popup code like
this, but cant get popup working when select feature on map. What I'm doing
wrong, I'm not skilled programmer, just beginner.

script type=text/javascript
//selection//
var themap;
var fusionInitialized = function() {
$('AppContainer').resize({forceResize: true});
   
 themap = Fusion.getWidgetById('Map');
 themap.registerForEvent(Fusion.Event.MAP_SELECTION_ON,
selectionOn);
}
var selectionOn = function()
{
 var maps = themap.getAllMaps();
 var map = maps[0];
 map.getSelection(displaySelection);
}
function displaySelection(res){
  var layer = res.getLayer(0);
 var propNames = layer.getPropertyNames();
 var msg;
 for (var j=0; jlayer.getNumElements(); j++) {
 for (var k=0; klt;propNames.length; k++)
  msg += (quot;\nquot; + propNames[k] +quot;  quot;+
layer.getElementValue(j, k));
  }
  alert(msg);
} 
//openlayers popup start//
var map, drawControls, selectControl, selectedFeature;
function onPopupClose(evt) {
selectControl.unselect(selectedFeature);
}
function onFeatureSelect(feature) {
selectedFeature = feature;
popup = new OpenLayers.Popup.FramedCloud(quot;chickenquot;, 

feature.geometry.getBounds().getCenterLonLat(),
 null,
 quot;lt;div
style='font-size:.8em'Feature:  + feature.id +brArea:  +
feature.geometry.getArea()+/div,
 null, true, onPopupClose);
feature.popup = popup;
map.addPopup(popup);
}
function onFeatureUnselect(feature) {
map.removePopup(feature.popup);
feature.popup.destroy();
feature.popup = null;
}
function init(){
map = new OpenLayers.Map('map');
var wmsLayer = new OpenLayers.Layer.WMS( OpenLayers WMS, 
http://vmap0.tiles.osgeo.org/wms/vmap0?;, {layers:
'basic'}); 

var polygonLayer = new OpenLayers.Layer.Vector(Polygon Layer);

map.addLayers([wmsLayer, polygonLayer]);
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.addControl(new OpenLayers.Control.MousePosition());

selectControl = new
OpenLayers.Control.SelectFeature(polygonLayer,
{onSelect: onFeatureSelect, onUnselect: onFeatureUnselect});
drawControls = {
polygon: new OpenLayers.Control.DrawFeature(polygonLayer,
OpenLayers.Handler.Polygon),
select: selectControl
};

for(var key in drawControls) {
map.addControl(drawControls[key]);
}


map.setCenter(new OpenLayers.LonLat(0, 0), 3);

}

function toggleControl(element) {
for(key in drawControls) {
var control = drawControls[key];
if(element.value == key  element.checked) {
control.activate();
} else {
control.deactivate();
}
}
}

//popup end//
//selection sript end//
var dOverviewMap;



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-to-get-selection-with-fusion-tp4187847p5107827.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Mapguide selection info in popup window

2014-03-04 Thread Kajar
HI!

Does someone have some sample how to get feature info to popup window(like
google or openlayers style).
When I click some object then selection info occurs in popup window(google
balloon or other style).
Didnt found any sample how to do it in Fusion(php) and is it hard to do and
what are basic steps. 
Very appreciated someone can give some step by step instructions. 




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-selection-info-in-popup-window-tp5107444.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Mapguide user rights based on area

2014-02-26 Thread Kajar
But is it possible to create map which have fixed extents and zoom level so
user cant zoom and pan over limits the map have?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-user-rights-based-on-area-tp5100199p5106122.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Google, Bing basemaps scale issue

2014-02-10 Thread Kajar
HI!

When Google or Bing maps used as basemaps then Status Scale widget  not
working as needed.
Example: I want to set scale to 1 but maps scale gonna be 9028, so its
seems its not possible to use custom scale like user wants.
I use mapguide 2.5.
Can I also define Google basemap min or max limits.
 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Google-Bing-basemaps-scale-issue-tp5103012.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


  1   2   >