This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
121
Web Server - Ask For Help / Re: Nt8.10 Remove or update hand-coded marks from maps
« on: May 03, 2014, 10:02:27 AM »
Thanks Bruce
I will check this
I would just like to add, move and delete markers without database saving.
I also try to use queue from data source, but failed that too.
Unknown identifier: X - C:\Clarion9\InvataksiC9\WEBajojarj\WEBajojarj011.clw:4402,10
Unknown identifier: X - C:\Clarion9\InvataksiC9\WEBajojarj\WEBajojarj011.clw:4403,18
Unknown identifier: X - C:\Clarion9\InvataksiC9\WEBajojarj\WEBajojarj011.clw:4405,65
After inserted X in local data I still did not get markers. I did not try this very seriously, so it can work anyway
Jari
I will check this
I would just like to add, move and delete markers without database saving.
I also try to use queue from data source, but failed that too.
Unknown identifier: X - C:\Clarion9\InvataksiC9\WEBajojarj\WEBajojarj011.clw:4402,10
Unknown identifier: X - C:\Clarion9\InvataksiC9\WEBajojarj\WEBajojarj011.clw:4403,18
Unknown identifier: X - C:\Clarion9\InvataksiC9\WEBajojarj\WEBajojarj011.clw:4405,65
After inserted X in local data I still did not get markers. I did not try this very seriously, so it can work anyway
Jari
122
Web Server - Ask For Help / Re: Nt8.10 Remove or update hand-coded marks from maps
« on: April 29, 2014, 03:53:52 AM »
Thanks Bruce
I tryed with this but not working.
p_web.Script('$("#' & p_web._jsok(p_web.nocolon('AccidentsMap')) & '").ntmap("removeMarker","_home_");')
There must be something in "_home_" part of code because this works fine:
p_web.Script('$("#' & p_web._jsok(p_web.nocolon('AccidentsMap')) & '").ntmap("removeMarker","'&p_web.GetValue('_marker_')&'");')
.. and markers are clustered
I tryed with this but not working.
p_web.Script('$("#' & p_web._jsok(p_web.nocolon('AccidentsMap')) & '").ntmap("removeMarker","_home_");')
There must be something in "_home_" part of code because this works fine:
p_web.Script('$("#' & p_web._jsok(p_web.nocolon('AccidentsMap')) & '").ntmap("removeMarker","'&p_web.GetValue('_marker_')&'");')
.. and markers are clustered
123
Web Server - Ask For Help / Nt8.10 Remove or update hand-coded marks from maps
« on: April 28, 2014, 07:51:19 AM »
Hello
I can create mark with code:
p_web.Script('$("#' & p_web._jsok(p_web.nocolon('MyMap')) & '").ntmap("addMarkerToCluster","'&p_web._jsok('Car')&'","_MyMARK_",'&p_web.GetLatLng(AJO:y)&','&p_web.GetLatLng(AJO:x)&','&p_web.WrapOptions(loc:options)&',"",0,2);')
But how can I remove or update mark?
This is not working:
p_web.Script('$("#' & p_web._jsok(p_web.nocolon('MyMap')) & '").ntmap("removeMarker","_MyMark_");')
What am I missing
Thanks
Jari
I can create mark with code:
p_web.Script('$("#' & p_web._jsok(p_web.nocolon('MyMap')) & '").ntmap("addMarkerToCluster","'&p_web._jsok('Car')&'","_MyMARK_",'&p_web.GetLatLng(AJO:y)&','&p_web.GetLatLng(AJO:x)&','&p_web.WrapOptions(loc:options)&',"",0,2);')
But how can I remove or update mark?
This is not working:
p_web.Script('$("#' & p_web._jsok(p_web.nocolon('MyMap')) & '").ntmap("removeMarker","_MyMark_");')
What am I missing
Thanks
Jari
124
Web Server - Ask For Help / Re: Browse lookups not working
« on: April 27, 2014, 09:01:43 PM »
Same here. I removed the the browse procedure and let the wizard do it again.
NT 8.06
Jari
NT 8.06
Jari
125
Web Server - Ask For Help / How can I get the newly added record on the selected in browse
« on: April 15, 2014, 10:51:35 PM »
Hello
I use NetTalk8 with Mysql.
My problem is that after insert new record the browse is not in that record.
I think that the problem is in uniquekey which use serverside autoinc field
Any ideas
Jari
I use NetTalk8 with Mysql.
My problem is that after insert new record the browse is not in that record.
I think that the problem is in uniquekey which use serverside autoinc field
Any ideas
Jari
126
Web Server - Ask For Help / Re: Request: Option to refresh data sets on a map
« on: April 02, 2014, 11:33:07 PM »
There is option: Disable clustering at zoom.
When this is set to 1 markers are not clustered and now they can move
When this is set to 1 markers are not clustered and now they can move
127
Web Server - Ask For Help / Re: Request: Option to refresh data sets on a map
« on: April 02, 2014, 03:44:24 AM »
This is almost solved with this code.
Only problem is clustered markers.
Any ideas ?
Relate:Accident.open
clear(Acc:record)
set(Acc:GuidKey,Acc:GuidKey)
loop
next(Accident)
if error()
break
.
Acc:Latitude=Acc:Latitude-0.001
put(Accident)
!Here start the code that moves markers
marker"=p_web.AddBrowseValue('AccidentsMap','Accident',Acc:GuidKey)
p_web.Script('$("#' & p_web._jsok(p_web.nocolon('AccidentsMap')) & '").ntmap("updateMarker","'&clip(marker")&'",'&p_web.GetLatLng(Acc:Latitude)&','&p_web.GetLatLng(Acc:Longitude)&','&p_web.WrapOptions(loc:options)&');')
.
Only problem is clustered markers.
Any ideas ?
Relate:Accident.open
clear(Acc:record)
set(Acc:GuidKey,Acc:GuidKey)
loop
next(Accident)
if error()
break
.
Acc:Latitude=Acc:Latitude-0.001
put(Accident)
!Here start the code that moves markers
marker"=p_web.AddBrowseValue('AccidentsMap','Accident',Acc:GuidKey)
p_web.Script('$("#' & p_web._jsok(p_web.nocolon('AccidentsMap')) & '").ntmap("updateMarker","'&clip(marker")&'",'&p_web.GetLatLng(Acc:Latitude)&','&p_web.GetLatLng(Acc:Longitude)&','&p_web.WrapOptions(loc:options)&');')
.
128
Web Server - Ask For Help / Re: NT 8.02 Map Providers
« on: March 21, 2014, 10:58:39 PM »
Did you get Nokia Maps to work Debra?
I tried to change the (Web 76) MapQuest to Nokia, but now the maps are only displayed in gray.
Bottom right, there is a link Leaflet pages. Thats all !
I put the Nokia App from the App id and code names with quotes.
Error messages did not come.
Jari
I tried to change the (Web 76) MapQuest to Nokia, but now the maps are only displayed in gray.
Bottom right, there is a link Leaflet pages. Thats all !
I put the Nokia App from the App id and code names with quotes.
Error messages did not come.
Jari
129
Web Server - Ask For Help / NT 8.2 / Mapquest / routing problem
« on: March 21, 2014, 03:13:17 AM »
The only problem is that I can not get it to work
Regards
Jari
Regards
Jari
130
Web Server - Ask For Help / Re: Request: Option to refresh data sets on a map
« on: March 18, 2014, 10:49:09 PM »
Same needs here.
Also it would be nice to know is it possible to use these markers: http://www.mapquestapi.com/staticmap/icons.html
Thanks for goog map features !!!!
Jari
Also it would be nice to know is it possible to use these markers: http://www.mapquestapi.com/staticmap/icons.html
Thanks for goog map features !!!!
Jari