Hotspots by Waindigo [Deleted]

Can we set the map to show only one state ?
You can change the default view and zoom of the map so it would just show one state but there is no way to stop members from adding hotspots outside of that initial view at present.
 
You can change the default view and zoom of the map so it would just show one state but there is no way to stop members from adding hotspots outside of that initial view at present.

Well it's for the local city based site will give it a shot and see how it works on dev site.
 
Thanks for adding that :)

Just wondering, is there a way to make the map smaller? It is over 800px high and much too big for the layout. I would be looking for around 400 - 500 high. I can't seem to find the setting in the css.

Thanks.
Forgot to say, I've added this to the css now (waindigo_map_hotspots.css).
 
Looks like markers are no longer displayed if you allow the browser to track your location, in Chrome & IE10 at least.
 
Waindigo updated Hotspots by Waindigo with a new update entry:

Version 1.0.5 released

Bug fixes:
  • Fixes bug that hotspot markers disappear if user shares their location when viewing the main hotspot map.
  • Fixed server error 'Invalid model 'XenForo_Model_Map' specified'.
  • Fixed issue that hotspots with special characters in the title appear incorrectly when the marker is moused-over on the map.
  • Fixed bug that after deleting a hotspot on a node map, it redirects to the non-node list of hotspots.
  • Fixed bug on install that permissions are not set correctly...

Read the rest of this update entry...
 
Works for me. Have you selected this option:
View attachment 52527
?


Ooops, did not realise it was an option setting. All working good now :)

I am getting server error logs though.



Code:
Server Error Log
Error Info
ErrorException: Undefined index: user_id - library/Waindigo/Hotspots/Model/Hotspot.php:392
Generated By: Sam Parker, Today at 8:56 AM
Stack Trace

#0 /home/thereefu/public_html/library/Waindigo/Hotspots/Model/Hotspot.php(392): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/thereefu/...', 392, Array)
#1 /home/thereefu/public_html/library/Waindigo/Hotspots/Model/Hotspot.php(489): Waindigo_Hotspots_Model_Hotspot->canEditHotspot(Array, Array, '', NULL, NULL)
#2 /home/thereefu/public_html/library/Waindigo/Hotspots/ControllerPublic/Hotspot.php(231): Waindigo_Hotspots_Model_Hotspot->canEditDescription(Array, Array)
#3 /home/thereefu/public_html/library/XenForo/FrontController.php(337): Waindigo_Hotspots_ControllerPublic_Hotspot->actionSave()
#4 /home/thereefu/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /home/thereefu/public_html/index.php(13): XenForo_FrontController->run()
#6 {main}

Request State

array(3) {
  ["url"] => string(56) "http://www.xxxxxxx.com.au/maps/australia/save-hotspot"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(16) {
    ["zoom"] => string(1) "9"
    ["title"] => string(21) "Williamstown Aquarium"
    ["marker_text"] => string(21) "Williamstown Aquarium"
    ["hotspot_category_id"] => string(1) "1"
    ["address"] => string(35) "368 Kororoit Creek Rd, Williamstown"
    ["lat"] => string(11) "-37.8542721"
    ["lng"] => string(11) "144.8602062"
    ["date_month"] => string(1) "7"
    ["date_day"] => string(2) "30"
    ["date_year"] => string(4) "2013"
    ["website"] => string(39) "http://www.williamstownaquarium.com.au/"
    ["node_id"] => string(3) "294"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(30) "/maps/australia/create-hotspot"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}

and

Code:
Server Error Log
Error Info
Exception: String could not be parsed as XML - library/Waindigo/Listener/ControllerPreDispatch/20130704.php:323
Generated By: TheJordans, 36 minutes ago
Stack Trace

#0 /home/thereefu/public_html/library/Waindigo/Listener/ControllerPreDispatch/20130704.php(0): SimpleXMLElement->__construct()
#1 /home/thereefu/public_html/library/Waindigo/Listener/ControllerPreDispatch/20130704.php(128): Waindigo_Listener_ControllerPreDispatch->_checkAddOnsNeedUpgrading(Array)
#2 /home/thereefu/public_html/library/Waindigo/Listener/ControllerPreDispatch/20130704.php(92): Waindigo_Listener_ControllerPreDispatch->_runOnceInFirstListener()
#3 /home/thereefu/public_html/library/Waindigo/Listener/ControllerPreDispatch/20130704.php(87): Waindigo_Listener_ControllerPreDispatch->run()
#4 [internal function]: Waindigo_Listener_ControllerPreDispatch::controllerPreDispatch(Object(AntiSPAM_ControllerPublic_Thread), 'SaveDraft', 'XenForo_Control...')
#5 /home/thereefu/public_html/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
#6 /home/thereefu/public_html/library/XenForo/Controller.php(311): XenForo_CodeEvent::fire('controller_pre_...', Array, 'XenForo_Control...')
#7 /home/thereefu/public_html/library/XenForo/FrontController.php(336): XenForo_Controller->preDispatch('SaveDraft', 'XenForo_Control...')
#8 /home/thereefu/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/thereefu/public_html/index.php(13): XenForo_FrontController->run()
#10 {main}

Request State

array(3) {
  ["url"] => string(86) "http://www.xxxxxxxx.com.au/threads/2nd-annual-lfs-crawl-vic-27-07-13.6765/save-draft"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(9) {
    ["message_html"] => string(10885) "<p>Thanks, Guys *blush*</p>&nbsp;<img src="http://forum.maternal.com.au/images/smilies/drinks.gif" alt="[IMG]" unselectable="on">&nbsp;</p>
"
    ["_xfRelativeResolver"] => string(83) "http://www.xxxxxx.com.au/threads/2nd-annual-lfs-crawl-vic-27-07-13.6765/page-19"
    ["attachment_hash"] => string(32) "9ca8f1b3762d777e2abe7df56684ad53"
    ["last_date"] => string(10) "1375137964"
    ["last_known_date"] => string(10) "1375136858"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(55) "/threads/2nd-annual-lfs-crawl-vic-27-07-13.6765/page-19"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Back
Top Bottom