|
POST
|
Yes, we'll see if we can make a public function out of that _normalize(). Let me know if you have success with the clusterlayer.
... View more
08-20-2014
09:33 AM
|
0
|
0
|
8007
|
|
POST
|
Hey Martin, Thanks for the notice. I got the layer working across the dateline by normalizing each point and the map's extent. Let me know if the code is working for you now. heatmap.js ArcGIS JavaScript API Heatmap Layer I am guessing the same issue is occurring with the cluster layer. The points probably just need to be normalized so that they display across the dateline. Also, there's been a new release of heatmap.js so I'll likely be writing some code to support the latest version.
... View more
08-19-2014
04:08 PM
|
0
|
8
|
8007
|
|
POST
|
It will project the geometry if you've set a geometry service for your app. Default API Configurations | Guide | ArcGIS API for JavaScript esriConfig.defaults.geometryService = new GeometryService("http://yourdomain.com/geometryService");
... View more
07-28-2014
02:11 PM
|
0
|
0
|
1209
|
|
POST
|
Hi Robert, Yes, you should be able to set the geocoderOptions on the constructor parameters with a default of Geocoder settings. They can be these settings: https://developers.arcgis.com/javascript/jsapi/geocoder-amd.html#geocoder1 I believe that geocoders on the directions widget is just a property. Let me know if that works. Thanks
... View more
06-19-2014
05:11 PM
|
0
|
0
|
847
|
|
POST
|
Hi Donald, You should just be able to call this:
myWidget.set("value", "my location");
myWidget._autoComplete(); It's currently not a public function but it should do what you are looking for I believe. Let me know if that helps. I will look into making this function public for a future release.
... View more
06-11-2014
12:45 PM
|
0
|
0
|
1423
|
|
POST
|
Ok great. In API release 3.10 you shouldn't have to move the node anymore.
... View more
03-28-2014
12:07 PM
|
0
|
0
|
965
|
|
POST
|
Or you can overwrite the widget "_init" function to this: _init: function() {
// set type of swipe
this._setSwipeType();
// events
this._setupEvents();
// check if not enabled
this._enabled();
// we're ready
this.set("loaded", true);
this.emit("load", {});
// giddyup
this.swipe();
},
... View more
03-28-2014
10:35 AM
|
0
|
0
|
965
|
|
POST
|
I think I understand the problem. Can you try moving the swipe domNode into the map domnode? After the widget is loaded probably. Currenlty, the widget gets placed into the layers div but I think that is causing the hover issue. Like this:
domConstruct.place(mySwipeWidget.domNode, dom.byId('my_map_id'), 'last');
... View more
03-28-2014
10:21 AM
|
0
|
0
|
965
|
|
POST
|
You should listen to the toggle event on the widget. https://developers.arcgis.com/javascript/jsapi/basemaptoggle-amd.html#event-toggle on(myBasemapWidget, 'toggle', function(){
// do some stuff
});
... View more
03-28-2014
08:49 AM
|
0
|
0
|
1369
|
|
POST
|
Thanks Manish. Yes, inspecting the element did help ... as you can see somewhere in html that is rendered for the widget there is a span with inner html 'Home'. I will have to inspect the widget's default styling to see what is done to hide it. In the mean time I have just set the font colour of my home class to transparent. Bit of a hack, but will work for now. Terry That text is there incase someone wanted the text instead of an icon or image. You can just use this to hide it: [HTML].homeButton span{display:none;}[/HTML]
... View more
02-27-2014
07:18 PM
|
1
|
0
|
1649
|
|
POST
|
Did you verify that the oAuth headers are being sent in the request? I wouldn't put the keys in JavaScript since they could easily be discovered. You should put them on a server side script like PHP so they are not exposed.
... View more
02-27-2014
06:58 PM
|
0
|
0
|
416
|
|
POST
|
What version of Android does it not work on? I tested on 4.1.2 and it seems to be working. I'll try debugging other versions as well. Thanks
... View more
02-21-2014
12:14 PM
|
0
|
0
|
759
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-14-2024 01:33 PM | |
| 1 | 12-01-2023 11:14 AM | |
| 1 | 06-23-2021 09:54 AM | |
| 1 | 04-12-2018 11:10 AM | |
| 1 | 04-09-2015 03:08 PM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|