Hexagon Geospatial
MENU

Developers Knowledge Base

M.App Portfolio provides a modern, cloud-based platform for creating and delivering diverse geospatial web applications.
Through the M.App Studio, our partners can design, build, and deploy their own Hexagon Smart M.Apps.
Showing results for 
Search instead for 
Do you mean 

Smart M.App Newsletter August 2016

by Technical Evangelist on ‎11-15-2016 08:59 AM (370 Views)

What's New

 

  • Address search in Smart M.App
    We are excited about the Search feature that is available out of the box in Hexagon Smart M.Apps. The search engine allows you to search for addresses and geographical names. It is multilingual and very fast.

    By default, the search engine uses the HERE geocoding service, but it can be easily customized to use other engines as well, including DigiPedia or What3Words services. If you are an HGDN Subscriber, visit the Community Portal to access code examples to connect  third-party search engines to your Smart M.App

August1.jpg

 

  • Where am I?
    Toggle your location display on the Smart M.App. Depending on whether you use a mobile or a desktop browser, the location is provided based on a GPS position or a calculated IP address.

August2.jpg

 

  • Display labels on the BI layer in Smart M.App
    A new version of the BI Map displays labels directly bound to the features on the map. You can configure the labels to serve the static attributes coming from the source GeoJSON and CSV data, as well as the measures dynamically calculated on-the-fly by the BI analytics. You can style the label display using CSS to fit your Smart M.App color scheme or branding.

August3.jpg

 

  • Auto-publish while uploading assets to M.App Chest
    For most cases, you upload the data into M.App Chest that you want to display in your Smart M.App. Previously, you had to click Publish for each asset you wanted to display. Now, the publishing of images to WMS/WMTS service can be done automatically immediately after the data upload completes. Simply upload the data with the Publish option enabled, and then use the available WMS/ WMTS layer to display the data in your Smart M.App.

August4.jpg

 

  • Actions on assets in M.App Chest
    Now you can access a toolbar when you mouse over an asset tile. The toolbar has all the tools that are on the Information panel..

August5.jpg

 

  • Change CRS in M.App Editor
    Develop  a Smart M.App that displays your data in its original Coordinate Reference System (CRS). Use a new option in M.App Studio to select the applicable EPSG code from the available list when you edit the map. Note that a layer may be disabled on the map when you change the CRS, if that layer's service does not support your selected CRS. 

August6.jpg

 

  • Test your spatial recipe in Spatial Workshop
    Create spatial recipes iteratively in Spatial Workshop and then verify that they function as expected. You can test your valid recipe in a test Smart M.App that will be automatically configured and run for you, even if your recipe has not been published yet. Pretty cool little thing to make development easier, isn’t it? 

August7.jpg

 

  • Publish a Smart M.App with a spatial recipe right from Spatial Workshop
    Have you created a brilliant spatial recipe you would like to make available as a Smart M.App immediately? No problem at all. Use the new feature in Spatial Workshop that configures your new Smart M.App right from the testing panel. Just decide whether you want a one-panel application with a spatial recipe only, or a two-panel app with a spatial recipe accompanied by a map. Once you decide click “Save as M.App”. The Smart M.App will be created for you directly from Spatial Workshop and added to the list of M.Apps in M.App Studio.

August8.jpg

 

  • Add and remove ports on operators
    Do you want to define a complex recipe and need more ports exposed on operators than the number offered by default? No problem. Now you can expose as many ports as you need on operators in Spatial Workshop, as long as the operator definition allows it.  

August9.jpg

We have made some Java Script API extensions available with this release as well, to support advanced customizations of  Smart M.Apps.

 

  • Connect GeoMedia WebMap WFS service in BI Map
    Do you want a Smart M.App with a BI layer but can’t make it using a GeoJSON uploaded to M.App Chest ? Are the data too big, does it change often, or maybe the customer does not want to upload the data to the Cloud?  Create a Smart M.App using offsite data published with GeoMedia WebMap Advantage. Publish the local data to a WFS service, and customize your Smart M.App to use that WFS as the source of information for the BI Map. GeoMedia WebMap WFS will serve GeoJSON and CSV as needed for the BI Map. In order to be accessed by Smart M.Apps, the WFS service must be accessible from the internet via HTTPS.
  • Select area of interest on the map
    The Smart M.App Java Script API now has the ability to retrieve a BBOX drawn on the map. Use this feature to select an area of interest and pass it as an input to a spatial recipe in order to limit the area of geoprocessing. See the Java Script API Documentation available in the M.App Studio, section 02  MapOperations -> Draw bbox for more information on how to enable this feature in your Smart M.App.

 

  • Mouse click event handler for the map
    Implement a custom Smart M.App behavior that is triggered by a mouse click on the map. Access M.App Editor from M.App Studio, then drag and drop the "Map Clicked" event from the Toolbox onto your JS customization of the map panel.  
  • BI M.App selection handler
    The Java Script API lets you retrieve features selected in a current BI context. You can define the selection as a list of feature IDs, a GeoJSON Feature Collection, or as a table of all selected data rows.
    See an example or follow this tutorial to learn how you can export a BI selection to a CSV file in your customization code.

 

Last but not least, we’ve made fixes and minor refinements:

 

  • Third-Party Content attribution and EULA’s
    The attributions for HERE, Airbus and Landsat display properly in M.App Chest, M.App Studio and Smart M.Apps. The Terms and Conditions, as well as End User Agreement License for the data, can be accessed from M.App Chest metadata.

 

  • Order clearing in M.App Chest
    You can now manually clear the list of completed orders displayed in M.App Chest.

 

  • Promote feature included with M.App Exchange Developer role
    With the May release, we introduced the Promote feature in M.App Studio to support the Smart M.App publication process to M.App Exchange. Previously, that feature was provided manually on request. Now the Promote function is included with the Developer’s role in M.App Exchange so that all users within your organization who have a M.App Exchange Developer role automatically have access to the Promote feature.

 

  • Unsupported operator information in Spatial Workshop
    When you import a spatial recipe into Spatial Workshop, the system verifies that all operators used in the recipe are handled in the cloud environment. If any are not supported, a message displays. You can then decide to redesign the recipe and use other operators that are supported.

 

  • Upload of JSON and RDF files into M.App Chest
    You can now upload JSON and RDF file formats to M.App Chest.

 

 

Contributors