score:2
Accepted answer
you could put a div above the map, and give this div a transparent background and give it height and width as the map size, so when user touch the div it will give no effect since it is the div and not the map, and then you can do your zooming using 2 buttons (zoom in/ zoom out).
Source: stackoverflow.com
Related Query
- Cannot disable d3 topojson base map zooming on Ionic V5 App
- Zooming and Panning a Mercator Map centered on the Pacific using d3.js
- How to temporarily disable the zooming in d3.js
- d3 US state map with markers, zooming transform issues
- SVG circles don't get repositioned when zooming leaflet map
- Rendering only a portion of a topojson map using D3.js
- d3js v5 + Topojson v3 Map not rendering
- D3 : map with topojson doesn't render properly
- d3 - disable scrolling when zooming with mouse wheel?
- how to dynamically place lat, lon data onto a topoJSON map
- Cannot find module "d3" error is displayed after i upgraded my project from ionic 2 to ionic 3
- Put markers to a map generated with topoJSON and d3.js
- Putting coordinate value on topojson US map
- Map zooming with D3 and Datamaps
- topojson / D3 / Map with longitude + latitude
- Cannot plot GeoJSON points in D3/Leaflet app
- D3js not projecting longitude/latitude points properly onto topojson map
- Let's make a TopoJSON map and view it with D3.js
- d3js v5 + Topojson v3 Map with border rendering
- Stop zooming of bubbles in D3 World Map
- How to run function after D3 TOPOJSON map loads
- d3.js onclick and touch works erratically on topojson map
- D3JS TopoJSON map of Australia: projection accurate but no country rendered
- How to scale and centre all items in a layered topojson map to fit in D3 version 4?
- TopoJSON map not rendering properly using D3
- Add topojson on top of google map
- Map zooming out of svg in IE9
- d3 zooming by click ctrl and mousewheel, disable browserzoom
- D3 Map not rendering Australian topojson file
- D3.js TopoJSON map of Brooklyn not rendering
More Query from same tag
- D3 Area-Chart energy example
- d3js timeline adding current month renders multiple rectangles and doesn't clear
- Show a custom tooltip on mouseover of the node (force directed d3 graph)
- Mouse event handling in a node and its children
- How to show a tooltip with value when mouseover a svg line graph using d3.js?
- d3 append copy of g element on click to separate div
- How do you uses nested elements in a force directed D3 graph?
- D3 - Selection in differents DIV
- How to specify number formats in Google's sankey charts / D3
- Adding tooltip and x axis, y axis title to D3.js chart
- Why won't my circles display in "pixel" units?
- D3 force-directed graph: update node position
- passing data into d3js
- Adding background color in d3 js bar chart using data values
- How to create a paragraph when option changes in a select tag using d3.js?
- how to stop the slider as I hover over it?
- How to change legend marker size in C3?
- Dictate colors via column in rawgraph/d3
- Dynamically set color of y-axis when x-axis has value in D3
- d3.js adding legend to multiline series chart
- Unable to append images over nodes in d3.js
- Having trouble adding text lables to pie chart using d3.js
- D3 data structure? (that facilitates lookups, data manipulation and selections)
- How to trigger an angular change from a non-angular context e.g. from a D3 event?
- Using an ordinal scale ('d3.scale.ordinal') for the x-axis in a bar chart
- Updating text elements in d3.js
- Retrieve part of json file from an external website (sparkfun)
- d3 graph in a div section
- D3 append a line or rect to fill pie chart values
- How to zoom only on the X axis in a line chart in d3.js (v7)