Usually this happens because the preview shows the wrong part of the map
(where there is no data).
Try creating a map, and set the map extents to match your data.
Regards, Kenneth, GEOGRAF A/S
cgrell skrev:
Thank you for the reply.
In the end I was putting the sample in the wrong location which ment it was
calling the mapviewerajax from the wrong location.
Now I am working with a demo MapGuide Studio and trying to get a simple .shp
file loaded.
The data and layer were loaded fine. The layer's preview shows what I was
expecting.
I have tried to create a map based on the layer and the map preview shows
nothing.
Does anyone have some tips that could help me with this?
Thank you
Kenneth, GEOGRAF A/S wrote:
As I recall, you must also install a demo website (the MGP package only
has the data for the demo).
I believe the correct package is named "DotNetViewerSample".
You might get away with running this:
http://localhost/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%2f%2fSamples%2fSheboygan%2fLayouts%2fSheboyganAsp.WebLayout&USERNAME=Anonymous&PASSWORD=
You will also need an editor for the data.
You can request a trial of MapGuide Studio from Autodesk, and they will
send a 30 (60?) day trial CD by mail.
Regards, Kenneth, GEOGRAF A/S
cgrell skrev:
I have been struggling with this for weeks now and am very stuck.
I have installed the MapGuide Server 1.2.0, Web Server Extenstions 1.2.0
using .net
I can login to the admin at http://localhost/mapguide/mapadmin/login.php
and
loaded the sample file Sheboygan.mgp
When I go to http://localhost/mapguide/mapviewernet/gettingstarted.aspx I
get the following error
Invalid repository type. Exception occurred in method
MgResourceIdentifier.ParseIdentifier at line 440 in file
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\common\platformbase\Services/ResourceIdentifier.cpp
When i go to http://localhost/mapguide/mapviewernet/ajaxviewer.aspx i get
the following error
An unclassified exception occurred.
An unclassified exception occurred. Exception occurred in method
new_MgResourceIdentifier at line 681 in file .\MgApi_wrap.cpp
What am I missing?
Thank you
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users