Search
Tuesday, December 3, 2024
User manualsEasyDNNmaps

EasyDNNmaps User's Manual

EasyDNNmaps inter module communication

Previous Article EasyDNNnews Advanced Search Integration

EasyDNNmaps inter module communication

EasyDNNmaps supports DNN module feature “Inter Module Communication”. Inter Module Communication enables you to send data from one module to another on the same page. To learn more about it visit: https://www.dnnsoftware.com/wiki/imc.

To use Inter Module Communication in the EasyDNNmaps module first you must enable the feature in EasyDNNmaps module settings:

Image

Now your module can send data to EasyDNNmaps module. You can send marker data in JSON format. EasyDNNmaps module will then show those markers. Your module must be positioned before EasyDNNmaps module on the page.

Here is JSON format example:

{

             ""title"": ""Marker title"",

             ""description"": ""<p> Marker description </p>"",

             ""position"": {

             ""latitude"": 44.8941115,

             ""longitude"": 15.4237667

             }

       }

Here is example of making Inter Module Communication call. The parameter target must be set to “EasyDNNmaps”.

ModuleCommunicationEventArgs mcArgs = new ModuleCommunicationEventArgs(this.GetType().ToString(), jsonExample, this.GetType().ToString(), "EasyDNNmaps");
ModuleCommunication(this, mcArgs);

For more info please take a look at example module.

 

Documents to download

Previous Article EasyDNNnews Advanced Search Integration
Print
Last update: 10.10.2023 / Rate this article:
No rating
Copyright 2024 by EasyDNNsolutions Terms Of Use Privacy Statement