<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[API Google map]]></title><description><![CDATA[<p dir="auto">I try use the aplicattion of google maps. (ma-map) and I want created a marker with the possition of two point (Latitud and longitud). The problem is when I put that the point change with the select watch-list. In this case the point="designer.points | filter:{name:'Latitud'}:true | maFirst" and i don't know that I have to put in the field position the my marker.</p>
<p dir="auto">If I get the point normal I use the field point of my ma-get-point-value.</p>
<p dir="auto">Can you help me?</p>
]]></description><link>https://forum.mango-os.com/topic/3306/api-google-map</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 13:21:22 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3306.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Feb 2018 21:42:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to API Google map on Thu, 01 Mar 2018 16:53:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: jared-wiltshire">@<bdi>jared-wiltshire</bdi></a> Thank you very much. Now I can see the point.</p>
]]></description><link>https://forum.mango-os.com/post/17532</link><guid isPermaLink="true">https://forum.mango-os.com/post/17532</guid><dc:creator><![CDATA[Fabier]]></dc:creator><pubDate>Thu, 01 Mar 2018 16:53:38 GMT</pubDate></item><item><title><![CDATA[Reply to API Google map on Thu, 01 Mar 2018 16:45:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fabier" aria-label="Profile: fabier">@<bdi>fabier</bdi></a> said in <a href="/post/17477">API Google map</a>:</p>
<blockquote>
<p dir="auto">ng-bind="longitud"</p>
</blockquote>
<p dir="auto">I just noticed this in your code. This is wrong. I don't know where you got that from. Do not use ng-bind with <code>&lt;ma-get-point-value&gt;</code>, please read the documentation - YOUR_MANGO_URL/ui/docs/ng-mango/ma-get-point-value</p>
<p dir="auto">Try this -<br />
<code>&lt;marker position="{{(designer.points | filter:{name:'Latitud'}:true | maFirst).value}}, {{(designer.points | filter:{name:'Longitud'}:true | maFirst).value}}" on-click="$parent.$ctrl.setOutputData('DP_b6a0d213-4056-4cd0-9504-8707edb1fc82')"&gt;&lt;/marker&gt;</code></p>
]]></description><link>https://forum.mango-os.com/post/17531</link><guid isPermaLink="true">https://forum.mango-os.com/post/17531</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Thu, 01 Mar 2018 16:45:19 GMT</pubDate></item><item><title><![CDATA[Reply to API Google map on Thu, 01 Mar 2018 16:32:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: jared-wiltshire">@<bdi>jared-wiltshire</bdi></a> when I post &lt;pre&gt;{{Latitud.value}}, {{Longitud.value}}&lt;/pre&gt; the result is "," I don't get the values "Latitud" and "longitud".</p>
<p dir="auto">When I used &lt;pre ng-bind="designer.points | filter:{name:'Latitud'}:true | maFirst | json"&gt;&lt;/pre&gt;.</p>
<p dir="auto">The result was the one presented in the top of the forum.</p>
]]></description><link>https://forum.mango-os.com/post/17530</link><guid isPermaLink="true">https://forum.mango-os.com/post/17530</guid><dc:creator><![CDATA[Fabier]]></dc:creator><pubDate>Thu, 01 Mar 2018 16:32:16 GMT</pubDate></item><item><title><![CDATA[Reply to API Google map on Thu, 01 Mar 2018 16:13:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fabier" aria-label="Profile: Fabier">@<bdi>Fabier</bdi></a> you have to use the tools I gave you to try and figure out what is happening. I can't do it for you.</p>
<p dir="auto">You did not post what <code>&lt;pre&gt;{{Latitud.value}}, {{Longitud.value}}&lt;/pre&gt;</code> displays. You have to check each of your variables and see if they have the correct value.</p>
<p dir="auto">If you use the exact same code with a static value in the position attribute does it display the marker?</p>
]]></description><link>https://forum.mango-os.com/post/17527</link><guid isPermaLink="true">https://forum.mango-os.com/post/17527</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Thu, 01 Mar 2018 16:13:24 GMT</pubDate></item><item><title><![CDATA[Reply to API Google map on Thu, 01 Mar 2018 15:01:01 GMT]]></title><description><![CDATA[<p dir="auto">How Can I get the value of latitud an longitud in my marker:</p>
<p dir="auto">&lt;marker position=xxxxx,xxxxx on-click="$parent.$ctrl.setOutputData('DP_b6a0d213-4056-4cd0-9504-8707edb1fc82')"&gt;&lt;/marker&gt;</p>
]]></description><link>https://forum.mango-os.com/post/17526</link><guid isPermaLink="true">https://forum.mango-os.com/post/17526</guid><dc:creator><![CDATA[Fabier]]></dc:creator><pubDate>Thu, 01 Mar 2018 15:01:01 GMT</pubDate></item><item><title><![CDATA[Reply to API Google map on Wed, 28 Feb 2018 19:43:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: jared-wiltshire">@<bdi>jared-wiltshire</bdi></a>, yes, I can use your sentence and this is the response:</p>
<p dir="auto">{<br />
"enabled": true,<br />
"templateXid": null,<br />
"loggingProperties": {<br />
"tolerance": 0,<br />
"discardExtremeValues": false,<br />
"discardLowLimit": -1.7976931348623157e+308,<br />
"discardHighLimit": 1.7976931348623157e+308,<br />
"loggingType": "ON_CHANGE",<br />
"intervalLoggingType": "AVERAGE",<br />
"intervalLoggingPeriod": {<br />
"periods": 1,<br />
"type": "MINUTES"<br />
},<br />
"overrideIntervalLoggingSamples": false,<br />
"intervalLoggingSampleWindowSize": 0,<br />
"cacheSize": 1<br />
},<br />
"textRenderer": {<br />
"useUnitAsSuffix": true,<br />
"unit": "",<br />
"renderedUnit": "",<br />
"format": "0.00000",<br />
"suffix": "",<br />
"type": "textRendererAnalog"<br />
},<br />
"chartRenderer": {<br />
"timePeriod": {<br />
"periods": 1,<br />
"type": "DAYS"<br />
},<br />
"type": "chartRendererImage"<br />
},<br />
"modelType": "DATA_POINT",<br />
"tags": null,<br />
"validationMessages": [],<br />
"id": 27,<br />
"useIntegralUnit": false,<br />
"useRenderedUnit": false,<br />
"deviceName": "Trataminto_Dato",<br />
"dataSourceId": 3,<br />
"setPermission": "",<br />
"chartColour": "",<br />
"rollup": "NONE",<br />
"plotType": "SPLINE",<br />
"purgeOverride": false,<br />
"purgePeriod": {<br />
"periods": 1,<br />
"type": "YEARS"<br />
},<br />
"pointLocator": {<br />
"modelType": "PL.SCRIPTING",<br />
"varName": "Lat",<br />
"dataType": "NUMERIC",<br />
"settable": true,<br />
"relinquishable": false<br />
},<br />
"dataSourceXid": "TD_2C58D7",<br />
"readPermission": "",<br />
"dataSourceName": "Trataminto_Dato",<br />
"unit": "",<br />
"renderedUnit": "",<br />
"pointFolderId": 0,<br />
"integralUnit": "s",<br />
"name": "Latitud",<br />
"xid": "DP_b6a0d213-4056-4cd0-9504-8707edb1fc82",<br />
"lastPayload": {<br />
"xid": "DP_b6a0d213-4056-4cd0-9504-8707edb1fc82",<br />
"event": "UPDATE",<br />
"value": {<br />
"dataType": "NUMERIC",<br />
"value": 4.6840744,<br />
"timestamp": 1519846997000,<br />
"annotation": null<br />
},<br />
"renderedValue": "4,68407 ",<br />
"convertedValue": 4.6840744,<br />
"enabled": true,<br />
"attributes": {}<br />
},<br />
"value": 4.6840744,<br />
"time": 1519846997000,<br />
"convertedValue": 4.6840744,<br />
"renderedValue": "4,68407 ",<br />
"unreliable": false<br />
}<br />
,</p>
]]></description><link>https://forum.mango-os.com/post/17493</link><guid isPermaLink="true">https://forum.mango-os.com/post/17493</guid><dc:creator><![CDATA[Fabier]]></dc:creator><pubDate>Wed, 28 Feb 2018 19:43:51 GMT</pubDate></item><item><title><![CDATA[Reply to API Google map on Wed, 28 Feb 2018 18:05:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fabier" aria-label="Profile: Fabier">@<bdi>Fabier</bdi></a> Did you check the values of your variables on the page using the method I posted above? I can't make any more suggestions unless you give me some feedback. The only thing I can think of is removing the space between your lat and long.</p>
]]></description><link>https://forum.mango-os.com/post/17489</link><guid isPermaLink="true">https://forum.mango-os.com/post/17489</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Wed, 28 Feb 2018 18:05:52 GMT</pubDate></item><item><title><![CDATA[Reply to API Google map on Tue, 27 Feb 2018 22:01:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: jared-wiltshire">@<bdi>jared-wiltshire</bdi></a> Thanks, The probles is that my market don't get the values. This is a point numeric.</p>
]]></description><link>https://forum.mango-os.com/post/17481</link><guid isPermaLink="true">https://forum.mango-os.com/post/17481</guid><dc:creator><![CDATA[Fabier]]></dc:creator><pubDate>Tue, 27 Feb 2018 22:01:53 GMT</pubDate></item><item><title><![CDATA[Reply to API Google map on Tue, 27 Feb 2018 21:57:27 GMT]]></title><description><![CDATA[<p dir="auto">I would encourage you to put some tags into your code to inspect the value of variables and ensure they are correct. e.g.</p>
<pre><code>&lt;pre ng-bind="designer.points | filter:{name:'Latitud'}:true | maFirst | json"&gt;&lt;/pre&gt;
&lt;pre&gt;{{Latitud.value}}, {{Longitud.value}}&lt;/pre&gt;
</code></pre>
]]></description><link>https://forum.mango-os.com/post/17480</link><guid isPermaLink="true">https://forum.mango-os.com/post/17480</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Tue, 27 Feb 2018 21:57:27 GMT</pubDate></item><item><title><![CDATA[Reply to API Google map on Tue, 27 Feb 2018 21:55:39 GMT]]></title><description><![CDATA[<p dir="auto">OK I can see what you are trying to do, your code looks correct. What exactly is the issue? Can you explain more what is going wrong?</p>
<p dir="auto">Are your Latitud and Longitud points numeric or string? Are they in decimal format if they are strings?</p>
]]></description><link>https://forum.mango-os.com/post/17479</link><guid isPermaLink="true">https://forum.mango-os.com/post/17479</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Tue, 27 Feb 2018 21:55:39 GMT</pubDate></item><item><title><![CDATA[Reply to API Google map on Tue, 27 Feb 2018 21:48:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: jared-wiltshire">@<bdi>jared-wiltshire</bdi></a> said in <a href="/post/17476">API Google map</a>:</p>
<blockquote>
<p dir="auto">I'm sorry you are not making much sense to me. Maybe post some code snippets so I can get an idea of what you are trying to achieve.</p>
</blockquote>
<p dir="auto">this is my code, I want to create a map with a marker but this marker have to get the position agree a the value the watch-list</p>
]]></description><link>https://forum.mango-os.com/post/17478</link><guid isPermaLink="true">https://forum.mango-os.com/post/17478</guid><dc:creator><![CDATA[Fabier]]></dc:creator><pubDate>Tue, 27 Feb 2018 21:48:10 GMT</pubDate></item><item><title><![CDATA[Reply to API Google map on Tue, 27 Feb 2018 21:47:24 GMT]]></title><description><![CDATA[<pre><code>&lt;div class="ma-designer-root" id="6cb5c3d4-93b8-41ba-8581-ad1113d45c1b" style="width: 1024px; height: 100px; position: relative; background-color: rgb(0, 1, 13); top: auto;" ma-center="true"&gt;
    &lt;ma-watch-list-select id="23f7841d-5b31-4fdf-9f38-ea4f48035dde" ng-model="designer.watchList" parameters="designer.parameters" style="position: absolute; left: 0px; top: 30px;"&gt;&lt;/ma-watch-list-select&gt;
&lt;/div&gt;
    &lt;div id="59a9760c-d268-493f-a571-f3eefc1aa5d3" style="position: absolute; left: 333px; top: 0px; width: 362.875px; height: 34px; font-size: 160%; font-weight: 800;"&gt;UBICACIÓN NEVERAS COCA COLA&lt;/div&gt;
   
    &lt;ma-get-point-value id="20f80a36-3588-4830-a32a-46b2221184ec" style="position: absolute; left: 234.266px; top: 55px;" ng-bind="Latitud" point="designer.points | filter:{name:'Latitud'}:true | maFirst"&gt;&lt;/ma-get-point-value&gt;
   
    &lt;ma-get-point-value id="b2678643-51e6-47ba-acd9-af48e14ba9c5" style="position: absolute; left: 398px; top: 56px;" ng-bind="longitud" point="designer.points | filter:{name:'Longitud'}:true | maFirst"&gt;&lt;/ma-get-point-value&gt;

&lt;ma-map id="b6d480d5-6d25-4f07-8726-f585b45ffdfa" lat="4.68401" long="-74.051" map-type="roadmap" info-window-theme="dark" desktop-height="600px" mobile-height="450px" style="width: 683.813px; height: 709px;" zoom="10"&gt;
    &lt;marker position="{{Latitud.value}}, {{Longitud.value}}" on-click="$parent.$ctrl.setOutputData('DP_b6a0d213-4056-4cd0-9504-8707edb1fc82')"&gt;&lt;/marker&gt;
   &lt;/ma-map&gt;
</code></pre>
]]></description><link>https://forum.mango-os.com/post/17477</link><guid isPermaLink="true">https://forum.mango-os.com/post/17477</guid><dc:creator><![CDATA[Fabier]]></dc:creator><pubDate>Tue, 27 Feb 2018 21:47:24 GMT</pubDate></item><item><title><![CDATA[Reply to API Google map on Tue, 27 Feb 2018 21:44:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fabier" aria-label="Profile: Fabier">@<bdi>Fabier</bdi></a> I'm sorry you are not making much sense to me. Maybe post some code snippets so I can get an idea of what you are trying to achieve.</p>
]]></description><link>https://forum.mango-os.com/post/17476</link><guid isPermaLink="true">https://forum.mango-os.com/post/17476</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Tue, 27 Feb 2018 21:44:39 GMT</pubDate></item></channel></rss>