g1 issueshttps://code.gramener.com/cto/g1/-/issues2018-10-04T12:17:02Zhttps://code.gramener.com/cto/g1/-/issues/96g1.dropdown url encodes options twice2018-10-04T12:17:02ZTejeshg1.dropdown url encodes options twice1.43TejeshTejeshhttps://code.gramener.com/cto/g1/-/issues/95Mapviewer: tooltip must support leaflet tooltip options2018-10-04T12:17:29ZTejeshMapviewer: tooltip must support leaflet tooltip optionsspec
```js
tooltip: 'just some tooltip text test',
tooltipOptions: {
opacity: 0.1,
permanent: true
}
```spec
```js
tooltip: 'just some tooltip text test',
tooltipOptions: {
opacity: 0.1,
permanent: true
}
```1.43TejeshTejeshhttps://code.gramener.com/cto/g1/-/issues/93FormHandler table: test cases for enhancements2018-10-04T12:17:44ZS AnandFormHandler table: test cases for enhancementsAdd test cases and documentation for the following features
- [x] Clicking on Add / Edit focuses on the first inpput
- [x] Pressing Enter when editing / adding saves the document
- [x] Custom action receive a `.notify(message)` that the...Add test cases and documentation for the following features
- [x] Clicking on Add / Edit focuses on the first inpput
- [x] Pressing Enter when editing / adding saves the document
- [x] Custom action receive a `.notify(message)` that they can use to send a notification
- [x] Custom actions can return a jQuery deferred (e.g. `return $.ajax(...)`). In that case, it shows a loading indicator, and after the deferred is complete (i.e. `.always()`), the loading indicator is removed1.43TejeshTejeshhttps://code.gramener.com/cto/g1/-/issues/86mapviewer: Support custom markers (divIcons)2018-10-04T12:17:18ZAnvesh Dasarimapviewer: Support custom markers (divIcons)### Summary
Integrate text labels on the map
### Benefits
User can see text labels on the map (easy to identify).
### Usage
![image](/uploads/23565d7858a13a554a5f9053a45a4006/image.png)
### Examples
(Add code samples of usage, wit...### Summary
Integrate text labels on the map
### Benefits
User can see text labels on the map (easy to identify).
### Usage
![image](/uploads/23565d7858a13a554a5f9053a45a4006/image.png)
### Examples
(Add code samples of usage, with expected output)
```
var my_icon2 = L.divIcon({
className:'current-location-icon2',
html:'<span class="label_text text-black '+sublayer.feature.properties.Id+'">'+sublayer.feature.properties.BLOCK_NAME+'</span>',
iconAnchor:[0,0],
iconSize:null,
popupAnchor:[0,0]
})
L.marker([sublayer.getCenter().lat, sublayer.getCenter().lng], {radius: 5,
icon : my_icon2, color:'blue',opacity:1,fillColor: 'blue',fillOpacity:.4 ,className : "map_circle2"}).addTo(map)
```
Depends on the layer centroid, added text on the map.
![image](/uploads/4c8f0ea1e04d1aada383536a931435e2/image.png)1.43TejeshTejesh