Hi,
Recently I play around with this Offline aproach on Android and it works
very well:
- NUTITEQ for Android ( http://www.nutiteq.com/ http://www.nutiteq.com/ )
- build this and install on Android:
https://github.com/nutiteq/hellomap3d/tree/master/AdvancedMap3D
HI Jackie,
I am not sure if it is related, but when I select the features with the
QUERYMAPFEATURES and use the REQUESTDATA of 3, I get an 559
MgNullReferenceException - 4 is fine, but no attributes.
Gordon
--
View this message in context:
When REQUESTDATA = 3, it means you OR-ed in (2 = Inline Selection image).
In that case, you also have to pass in a SELECTIONCOLOR and SELECTIONFORMAT
or else the operation won't know how to render the inline selection because
you didn't specify the color/format of the selection.
I'm wondering if
Yes, definitely go with mbtiles.
http://themapguyde.blogspot.com.au/2014/07/oh-hey-it-works.html
:)
- Jackie
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Resolved-Mg-Desktop-on-Android-tp5149420p5150489.html
Sent from the MapGuide Users mailing list archive at
Waow ! Congratulations !
Rémy
-
AG-Carto - Bayonne
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Resolved-Mg-Desktop-on-Android-tp5149420p5150492.html
Sent from the MapGuide Users mailing list archive at Nabble.com.___
If you can accept for practical purposes that MapGuide on Android is
nothing more than getting data/tiles out of MapGuide into a desirable format
that your android map viewer app/library of choice can consume, then
there's many different ways to approach the problem.
- Jackie
--
View this
with Mg-Desktop we can go on the field with a windows tab but the tab is
expensive and heavy.
Today, Users doesn't understand why they can't go to the field with their Gis
office Map on her phone or tab offline.
Some app with Google do that, why not my Gis ?
So for me, it's a first easy
Also, it would be cool if you could pass a TEXTFORMAT=JSON/XML/TXT for the
selection.
(i.e. REQUESTDATA=1TEXTFORMAT=JSON)
That way we don't need to convert the XML to JSON etc.
--
View this message in context:
All (?) mapagent operations have JSON equivalents if you pass in
FORMAT=application/json
Mind you this is XML-to-JSON kind of JSON (where nearly every XML element
turns out as a JSON array), but JSON nonetheless.
- Jackie
--
View this message in context:
Erm. I was converting manually. Thanks.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Selection-Tolerance-in-QUERYMAPFEATURES-tp5150001p5150551.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
I had another strange error with TCPDF. I could print with LOCALHOST but not
my domain www.mapguide.ca
I kept getting the TCPDF ERROR: Can't open image file errors.
I had to go into the
*C:\Windows\System32\drivers\etc\HOSTS* file
and add the following:
127.0.0.1 www.mapguide.ca
Obviously
Jackie,
How did you create MBTILES file, with mapguide-rest?
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Resolved-Mg-Desktop-on-Android-tp5149420p5150568.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
Unfortunately, although that dll from MapgGuide 2.6 RC1 works to run
MapGuide,
but it doesn't solve the selection issue where if you click the point,
it triggers Fusion to give a length of 0 -
*Uncaught TypeError: Cannot read property 'length' of undefined
fusionSF-compressed.js:3023*
which
I used Portable Basemap Server (https://geopbs.codeplex.com/)
They have a online - mbtiles converter/seeder function. Just register a
mapguide-rest XYZ url to your tiled map, draw your bounding box of interest,
hit the start button and it will seed the mbtiles database for you.
It took ~25mins
14 matches
Mail list logo